Docs

Update Task

PUT /tasks/{taskId}

PUT/tasks/{taskId}

Replaces every field of a task, including its parent, position among its siblings, assignees, reviewers, attribute values and dependencies; to change a few fields on many tasks at once use ProjectManagement_BulkUpdateTasks. Moving a task renumbers its siblings, parent loops and circular dependencies are rejected, required attributes must still be supplied, and ids come from the sources listed on ProjectManagement_AddTask. Needs Task.Edit on the task, Task.Edit at each collaborator or department added or removed and on a new parent, and Task.View on each new dependency; to change only the status use ProjectManagement_SetTaskStatus. With an organization token and no event token it updates an organization-level task under the same rules as ProjectManagement_AddTask. assignees.eventRoleIds works as on ProjectManagement_AddTask, and leaving it out keeps the task's role assignments. reviewRoute replaces the route (leaving it out keeps it) and clearReviewRoute removes it, as ProjectManagement_ClearTaskReviewRoute; both are refused on a file's task. Moving the task into an In Review status starts its review; moving it out cancels the open review. A task with a route reaches Done only once its review run is approved, at either scope; an organization-level task's route takes OrgCrew members only.

Path Parameters

FieldTypeRequiredDescription
taskIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
statusIduuidOptional
startDateTimedate-timeOptional
endDateTimedate-timeOptional
descriptionstringOptional
prioritystringOptional
indexintegerOptional
parentIduuidOptional
phaseIduuidOptional
assigneesUpdateTaskRequestAssigneeListOptional
reviewerPullsBaseServiceCrewPull[]Optional
reviewRouteUpdateTaskRequestReviewRouteBodyOptional
clearReviewRoutebooleanOptional
attributesUpdateTaskRequestAttribute[]Optional
dependsOnuuid[]Optional

UpdateTaskRequestAssigneeList

FieldTypeDescription
crewIdsuuid[]| null
collaboratorIdsuuid[]| null
departmentIdsuuid[]| null
pullsBaseServiceCrewPull[]| null
eventRoleIdsuuid[]| null

BaseServiceCrewPull

FieldTypeDescription
orgCrewIduuid
placementCollaboratorIduuid| null

UpdateTaskRequestReviewRouteBody

FieldTypeDescription
stagesUpdateTaskRequestStage[]| null

UpdateTaskRequestAttribute

FieldTypeDescription
attributeIduuid
valueJsonElement| null

UpdateTaskRequestStage

FieldTypeDescription
iduuid| null
namestring| null
kindstring| null
groupsUpdateTaskRequestGroup[]| null

UpdateTaskRequestGroup

FieldTypeDescription
logicstring| null
thresholdinteger| null
membersUpdateTaskRequestMember[]| null