Edits multiple tasks using the specified operation.
The user is only allowed to edit tasks they have permissions for. The same applies for related entities like time entries. Returns MultiStatus. Includes the list of successful and failed tasks. Returns BadRequest if the validation for either operation or form fails.
Supported Operations: movetoproject: Moves all tasks to a new project. movetotasklist: Moves all tasks to a new task list inside the same project. setdates: Sets the due and optionally start date for all tasks. addtags: Adds a list of tags to all tasks in the list that don’t already have the tag. delete: Deletes all tasks. Optional including time trackings. changetypeofwork: Changes the type of work for a list of tasks. Optionally also for the related timetrackings. assignusers: Assigns a list of users to a list of tasks. unassignusers: Unassigns a list of users from a list of tasks. If the UserIds are not provided, all users are unassigned. setprio: Sets the prio flag for a list of tasks. changetaskstatus: Sets the task status for a list of tasks.
Required Permissions
Any authenticated user.Path parameters
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
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).
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)