PUT
/v2/projects/{projectId}/tasks/{taskNumber}Replace task details
Replaces the specified task's assignees and description, and can also replace its due date and name. Supply assignees and description on each request; the remaining body fields can be omitted. The task is identified by its number within the project.
taskNumberintegerrequired
The int64 task number of the task to replace.
projectIdintegerrequired
The int64 identifier of the project containing the task.
Replacement task details. Include assignees and description; dueDate and name can also be supplied.
assigneesarray<integer>required
Set of user IDs assigned to the task.
descriptionstringrequired
Task description, from 0 to 2000 characters.
dueDateintegeroptional
Due to date in epoch format (milliseconds).
namestringoptional
Task name, from 3 to 255 characters.
200Returns the updated task object, including its task number, state, language, assignees, description, and progress counts.
agencyobjectoptional
assigneesarray<object>required
authorobjectoptional
baseCharacterCountintegerrequired
baseWordCountintegerrequired
branchNamestringoptional
closedAtintegeroptional
createdAtintegeroptional
descriptionstringrequired
doneItemsintegerrequired
dueDateintegeroptional
languageobjectrequired
namestringoptional
numberintegerrequired
originBranchNamestringoptional
statestringrequired
totalItemsintegerrequired
typestringrequired
400Returned when a required field is missing or a value fails validation, such as an invalid name length.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to update the task.
codestringrequired
paramsarray<object>optional
404Returned when the project or task cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid; a 401 indicates missing or invalid authentication, and a 403 indicates access is denied. A 404 is returned when the project or task cannot be found. The taskNumber path parameter and projectId path parameter must identify the task; assignees and description are required, and name must be 3 to 255 characters when provided.