Create several comments at once.
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.
POST /actions/projects/{project_id}/tasks/comment-many
curl \
-X POST http://localhost:8080/api/actions/projects/{project_id}/tasks/comment-many \
-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 examples
{
"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"
}
}