Create several comments at once.

POST /actions/projects/{project_id}/tasks/comment-many

Each comment requires a text, a task id, a task_status and a person as arguments. This way, comments keep history of status changes. When the comment is created, it updates the task status with given task status.

Path parameters

Body

person ID, name, comment, revision and change status of task

Responses

  • 201

    Given files added to the comment entry as attachments

POST /actions/projects/{project_id}/tasks/comment-many
curl \
 -X POST http://localhost:8080/api/actions/projects/{project_id}/tasks/comment-many \
 -H "Authorization: $API_KEY" \
 -d '{"task_status_id":"a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25","comment":"string","person_id":"a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25","object_id":"a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25","created_at":"2022-07-12T13:00:00","checklist":{"item 1":"string"}}'
Request example
{
  "task_status_id": "a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25",
  "comment": "string",
  "person_id": "a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25",
  "object_id": "a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25",
  "created_at": "2022-07-12T13:00:00",
  "checklist": {
    "item 1": "string"
  }
}