Creates a custom field selection option for an existing custom field definition.

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

Path parameters

customFieldDefinitionIdstringRequired

The id of the custom field definition.

Request

This endpoint expects an object.
valuestringRequired>=1 character

The selection value which can be used in a select custom field.

orderdoubleRequired

The order of the custom field selection option.

colorenumOptional

The color of the selection option.

Response

OK

idstringOptional

The id of the custom field definition.

namestringOptional

The name of the custom field definition.

entity"task"OptionalDefaults to task

The entity the custom field definition can be linked to.

typeenumOptional

The type of the custom field definition.

createdOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date this entity was created.

createdBystringOptional

The id of the user who created this entity.

updatedOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The date this entity was last modified.

updatedBystringOptional

The id of the user who last modified this entity.