Tasks

Create task comment

Changed on

Adds a comment to the task, authored by the authenticated API user. Watchers on the project are emailed, the same as when a firm user comments in the app; the task's assignees are emailed only when send_notification_to_assignees is true. Plain newlines in content are converted to line breaks.

post/projects/{project_id}/tasks/{task_id}/comments

Request

  • Base URL
    https://app2.gettruss.io/api/v1
  • URL
    https://app2.gettruss.io/api/v1/projects/{project_id}/tasks/{task_id}/comments
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

ID of the project

task_idinteger required

ID of the task to comment on

Request body

contentstring required

The comment body. Supports the same limited HTML as task descriptions.

send_notification_to_assigneesboolean

Also email the assignees active on the task, the same as the "notify assignees" checkbox in the app. Ignored when the API user is restricted from sending emails.

Response

comment created

Changes