Changes the type of work for a batch of tasks.

POST

Changes the type of work for a batch of tasks and their related time entries.

Required Permissions: The required permissions depend on the base type of the task. If the task is a project task, write permissions on the project-planning-data feature are required. For a user’s private tasks, no special permissions are required.
Returns 204 NoContent if all tasks have been changed successfully. Returns 207 MultiStatus if at least one task could not be changed, including the reasons.

Request

This endpoint expects an object.
typeOfWorkIdstringRequired

The id of the task type.

taskIdslist of stringsRequired

The list of task ids.

changeTimeEntriesbooleanOptional

Whether the related time entries should be moved to the same type of work.