Mutations
moveTaskInBoard
Reorders or moves a task within its current board (same-column reorder or cross-column drag). Prefer this over updateTask for kanban drag-and-drop — it skips unrelated task field writes, creator enrichment, and broad activity logging.
Template for Mutation:
mutation MoveTaskInBoard($hubId: ID!, $input: MoveTaskInBoardInput!) {
moveTaskInBoard(hubId: $hubId, input: $input) {
taskId
taskStatusId
}
}
Arguments
| hubId* ID non-null | The CommonWorkspace hub ID (a.k.a. ACE scope URN) of the hub that contains the task. |
| input* MoveTaskInBoardInput non-null | Task id, target column, and list anchor position. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| MoveTaskInBoardPayload | Lightweight return payload for the moveTaskInBoard mutation (kanban reorder). |
Examples
Example 1
Moves a task between columns on the same board, and optionally reorders it. insertBelowTaskId positions the task directly beneath an existing task; omit it to place the task at the top of the column.
Query:
mutation MoveTaskInBoard($hubId: ID!, $input: MoveTaskInBoardInput!) {
moveTaskInBoard(hubId: $hubId, input: $input) {
taskId
taskStatusId
boardId
}
}
Query Variables:
{
"hubId": "urn:adsk.ace:beta.scope:02dd340f-3e84-4db8-b6a1-56a964a202c7",
"input": {
"taskId": "NgwRgSdC1VjONh8Ts9eoRK_aga",
"taskStatusId": "EwgH0qjTZmhD3JEW0iU4VK_aga:IN_REVIEW"
}
}
Illustrative response
{
"data": {
"moveTaskInBoard": {
"taskId": "NgwRgSdC1VjONh8Ts9eoRK_aga",
"taskStatusId": "EwgH0qjTZmhD3JEW0iU4VK_aga:IN_REVIEW",
"boardId": "EwgH0qjTZmhD3JEW0iU4VK_aga"
}
}
}
Show More