Move up to 100 tasks from their current project(s) to a target project within the same tenant
POST/api/tasks/bulk-move
Move up to 100 tasks from their current project(s) to a target project within the same tenant. Allocates new task keys from the target project, reconciles statuses, creates redirect entries for old keys, and emits per-task audit + event entries. Refuses the move if any selected task has subtasks or a parent not fully included in the selection (SUBTREE_NOT_INTACT). Cross-tenant moves are rejected.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Successful response
Validation error. Triggers: malformed or duplicate task ids, > 100 ids, SUBTREE_NOT_INTACT (subtree not fully selected), or TASKS_ALREADY_IN_TARGET (one or more selected tasks already live in the target project).
Unauthorized — authentication credentials are missing or invalid
Insufficient permissions on the source or target project (caller has tasks.update.any but cannot reach a specific project).
One or more task IDs, or the target project, are not visible to the caller. Cross-tenant rejections are collapsed into this response (instead of 403) so the status cannot be used as a cross-tenant existence oracle.