Create Task Comments

Adds a Markdown-formatted comment to a task.

Tasks can have discussions attached to them. These discussions can include text with simple formatting. Discussion comments are formatted using Markdown and users should be aware that HTML embedding is not permitted due to the risk of cross-site attacks and other embedding challenges.

Path parameters

taskIdstringRequired
The unique ID number of the task being commented upon

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
textstringOptional

The text of the comment to add to the discussion, in Markdown format.

Discussion comments are formatted using Markdown and users should be aware that HTML embedding is not permitted due to the risk of cross-site attacks and other embedding challenges.

Response

This endpoint returns an object.
errorobject or null
If the API call failed, this will contain information about the error that occurred.
successboolean or null

True if the API call succeeded; false otherwise.

hasErrorboolean or null
True if the API call failed.
statusCodeenum or null
The HTTP code of the response.
dataobject or null

Tasks can have discussions attached to them. These discussions can include text with simple formatting. Discussion comments are formatted using Markdown and users should be aware that HTML embedding is not permitted due to the risk of cross-site attacks and other embedding challenges.