Magidoc

reorderProjectTodos
Mutation

Reorders todos inside one project slice. ids is the desired order for the slice: positions are assigned by list index, ids outside the slice are ignored, and unlisted todos keep their positions. The optional pickedUpTodo applies the dragged task's location transition in the same call (for example when a drag changes its box or progress). Other task changes use updateTodo. Requires permission to update the slice's project, or a team member moving a task assigned to them (movedTodoId); otherwise fails with not_found. Returns true.

Arguments

#

ids

[Int !]!
Non-null

Desired todo-id order within the slice.

movedTodoId

The todo the user dragged. A team member who is not a project admin may reorder only when this todo is assigned to them.

pickedUpTodo

Optional field changes for the todo being dragged, applied in the same call.

sliceId

Non-null

Response

#

Returns Boolean .

Example

#