Reorder tasks
reorder_tasksSet the display order of a project's tasks, as shown in the task list and as the row order of the Gantt chart. Requires Administrator or ProjectManager role. taskIds must list EVERY task in the project exactly once, in the desired top-to-bottom order — call list_tasks_by_project first and reorder that full set, since a partial list is rejected. Once the project has any WBS nesting, the order must also be the tree's depth-first walk: every task follows its own WBS parent, and a summary task's descendants stay together directly beneath it. Anything else is rejected — use set_task_parent to change a task's level, and this tool only to reorder within a level. Returns the project's tasks in their new order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskIds | Yes | Every task id in the project, in the desired display order | |
| projectId | Yes | Project id |