Creates a new task status for the specified project template.

POST

Creates a new task status for the specified project template.

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

Path parameters

projectTemplateIdstringRequired

The id of the project template.

Request

This endpoint expects an object.
namestringRequired>=1 character<=30 characters

The name of the task status.

typestringRequired>=1 character

Specifies the general type of this task status. Accepted values: ‘todo’, ‘progress’, ‘review’, ‘stuck’, ‘done’.

orderdoubleOptional

The order of the task status. If it is null, the task status will be appended after the last task status.

iconstringOptional

The icon of the task status.

Response

OK

idstringOptional

The primary identifier of this task status.

namestringOptional

The name of the task status.

typestringOptional

Of what general type is this task status?.

orderdoubleOptional

The order of the task status in a project.

iconstringOptional

The icon of the task status.

projectIdstringOptional

Is set if the task status is related to a project.

projectTypeIdstringOptional

Is set if the task status is related to a project type.

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.