Update task
Tasks View as Markdown
PATCH/api/task/{taskId}
Updates a task in the current space.
Parameters
taskIdintegerpathRequired- ID of the task.
Request body
namestring- Task name (1 to 255 characters).
parentIdinteger | null- ID of the parent task.
nullmakes the task top-level. projectIdinteger- ID of the project the task belongs to.
responsibleUserIdinteger | null- ID of the user assigned to the task.
nullleaves it unassigned. ballHoldingUserIdinteger | null- ID of the user who currently holds the ball, meaning who needs to act next.
nullmeans nobody. statusIdinteger | null- ID of the status, which must belong to the task's project.
nullclears the status. milestoneIdinteger | null- ID of the milestone, which must belong to the task's project.
nullclears the milestone. priorityinteger | null- Priority:
1is High,2is Mid,3is Low.nullclears the priority. descriptionstring | null- Task description as Markdown (up to 20,000 characters).
nullclears it. startDatenumber | null- Start date as a Unix timestamp in milliseconds.
nullclears it. dueDatenumber | null- Due date as a Unix timestamp in milliseconds.
nullclears it. extraobject | null- Extra display settings. Only
color(a color string such as#8CC230, ornull) is meaningful. applyToOpenDescendantsboolean- When
true, subtasks that are not completed (including those with no status) also get the newstatusId. RequiresstatusId. Defaults tofalse.
Responses
200Task updated400Invalid request payload or move state401Authentication is required404Task not found