Skip to navigation

Updates a custom field selection option.

Updates the specified selection option’s value, color, and order within its custom field definition.

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

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

customFieldDefinitionIdstringRequiredformat: "uuid"
The id of the custom field definition containing the selection option.
selectionOptionIdstringRequiredformat: "uuid"
The id of the selection option to update.

Request

The model describing the updated selection option.
valuestringRequired1-255 characters
The selection value which can be used in a select custom field.
orderdoubleRequired
The order of the custom field selection option.
colorenum or nullOptional
The color of the selection option.

Response

OK
valuestring>=1 character
The selection value which can be later used in a select custom field.
idstringOptionalformat: "uuid"
The id of the custom field selection option.
colorenum or nullOptional
The color of the selection option.
orderdoubleOptional
The order of the custom field selection option.

Errors

404
Not Found Error