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.
namestringRequired>=1 character

The names of the type of work.

descriptionstringOptional

A short description of the type of work.

iconstringOptional

The icon associated with this task type.

Response

OK

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.