Creates a new type of work.

POST

Creates a new type of work.

Required Permissions: The user must be an admin or have task-manage-config:write permissions.

Request

This endpoint expects an object.
namestringOptional
The names of the task type.
descriptionstringOptional
A short description of the task type.
iconstringOptional
The icon associated with this task type.

Response

This endpoint returns an object
idstringOptional
The id of the task type.
namestringOptional
The name of the task type.
descriptionstringOptional
A short (max. 140 characters) description of the task type.
iconstringOptional
The icon associated with this task type.
isArchivedbooleanOptional
Whether the type of work has been archived.
createdOndatetimeOptional
The date this entity was created.
createdBystringOptional
The id of the user who created this entity.
updatedOndatetimeOptional
The date this entity was last modified.
updatedBystringOptional
The id of the user who last modified this entity.