Artists do not see the comments written by clients. For each given task of the project, copy the last comment written by a client of the project into a new comment of the current user, so the artists get it. The task keeps its status. A task without client comment, or out of the project, is skipped. Project managers only.
POST
/actions/projects/{project_id}/tasks/copy-client-comments
curl \
--request POST 'http://api.example.com/actions/projects/a24a6ea4-ce75-4665-a070-57453082c250/tasks/copy-client-comments' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"task_ids": [
"e68e02e8-0219-8009-e514-918974260690"
],
"prefix": "Client feedback:"
}'
Request examples
{
"task_ids": [
"e68e02e8-0219-8009-e514-918974260690"
],
"prefix": "Client feedback:"
}
Response examples (201)
[
{
"id": "b35b7fb5-df86-5776-b181-68564193d360",
"object_id": "e68e02e8-0219-8009-e514-918974260690",
"person_id": "d57d91d7-f108-7998-d403-80786315f580",
"text": "Client feedback:\n\nThe light is too warm.",
"task_status_id": "c46c80c6-e097-6887-c292-79675204e470"
}
]