move_task
Move a task and its direct subtasks to another project in the same workspace; subtasks of those subtasks stay in the source project. The task keeps its id, comments, attachments, history, assignee, tags, custom field values and dependencies, and its timesheet hours move with it, which a new task plus a delete of the old one would lose. A sprint and an epic belong to one project, so both are cleared on every task that moves; a subtask moved on its own leaves its parent; collaborators who are not in the target project are removed. Links to tasks left behind are kept and span the two projects. The result counts what was cleared, and Undo moves the task back and puts back its sprint, epic, parent, place and collaborators where they still exist. Requires permission to edit any task (task.edit.any) in both projects. Refused while the task is mirrored from Microsoft Planner, and while an accounting export holds its hours. To move a task into a sprint or an epic in its own project, use move_task_to_sprint or move_task_to_epic. dryRun: true returns the same counts and writes nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"taskId": "<taskId>",
"targetProjectId": "<targetProjectId>"
},
"name": "move_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The task to move. Its direct subtasks move with it. | |
| restore | No | Filled by Undo from the recorded move. Refused on any other call. | |
| targetProjectId | Yes | The project to move it to. Use list_projects to find project ids. |