Assign a task
PATCH/v1/tasks/:taskId/assign
Assign a task with taskId
to assignee
or the active user. Returns the task.
Request
Responses
- 200
- 400
- 403
- 404
On success returned.
An error is returned when the task is not active (not in the CREATED state).
An error is returned when task was already assigned, except the case when JWT authentication token used and allowOverrideAssignment = true
.
An error is returned when user doesn't have the permission to assign another user to this task.
An error is returned when the task with the taskId
is not found.