Path parameters
operationstringRequired
The operation to perform on all tasks.
Request
The model describing the batch task operation.
taskIdslist of stringsRequired
The list of task ids to perform the batch operation on.
newTaskListIdstring or nullOptionalformat: "uuid"
The id of the new task list. Needed if operation is 'movetotasklist'. Optional if operation is 'movetoproject'.
removeFromCurrentListboolean or nullOptional
Whether to remove the task from all its current task lists. Optional for operation 'movetotasklist'.
newProjectIdstring or nullOptionalformat: "uuid"
The id of the new project to move the tasks to. Needed if operation is 'movetoproject'.
newParentTaskIdstring or nullOptionalformat: "uuid"
The id of the task that will be the new parent of the selected tasks. Needed if operation is 'moveundertask'.
taskStatusMappinglist of objects or nullOptional
The task status mapping from old task status to new task status. Optional for operation 'movetoproject'.
newDueDatestring or nullOptionalformat: "date-time"
The new due date for the tasks. Optional for operation 'setdates'. If not set, due and start date will be removed.
newStartDatestring or nullOptionalformat: "date-time"
The new start date for the tasks. Optional for operation 'setdates'. Only gets used when NewDueDate is set.
removeDueDateboolean or nullOptional
Whether to remove the due date. Required for operation 'setdates'.
removeStartDateboolean or nullOptional
Whether to remove the start date. Required for operation 'setdates'.
tagslist of objects or nullOptional
List of tags to add to the tasks. If task already has tag, tag is skipped.
deleteTimeTrackingsboolean or nullOptional
Whether to delete the timetrackings of each task when deleting tasks. Optional for operation 'delete'.
newTypeOfWorkIdstring or nullOptionalformat: "uuid"
The new type of work id for the tasks. Required if operation is 'changetypeofwork'.
changeTimeEntriesboolean or nullOptional
Whether to change the type of work of the timeentries for each task aswell. Optional for operation 'changetypeofwork'.
userIdslist of strings or nullOptional
Depending on the batch operation, it can be either the ids of the user to assign (‘assignusers’, required) or the ids of the user to remove (‘unassignusers’, optional, if not provided unassigns all users).
removeOldAssignmentsboolean or nullOptional
Whether to replace or add user assignments to a task that has users already assigned. Optional for operation
'assignusers'.
isPrioboolean or nullOptional
Whether to set the tasks to be prio or not. Required for operation 'setprio'.
daysOffsetdouble or nullOptional
In case of an adjust date operation, define the number (positive or negative) of days that will be added/subtracted to the task dates.
It can be a decimal number (fraction of day)
adjustSuccessorsboolean or nullOptional
If set to true, it will adjust the dates of successor tasks as well.
adjustSubtasksboolean or nullOptional
If set to true, it will adjust the dates of subtasks of selected tasks.
If set to false, it will only adjust the dates of the selected tasks.
plannerDataobjectOptional
Data specific to planner batch operations for handling drag and drop in the planner UI.
newTaskStatusIdstring or nullOptionalformat: "uuid"Deprecated
Deprecated for ‘movetoproject’: use TaskStatusMapping instead.
The id of the new task status id to change the tasks to. Needed if operation is ‘movetoproject’ or ‘changetaskstatus’.