This resource represents custom issue field select list options created in Jira or using the REST API. This resource supports the following field types:
Checkboxes.
Radio Buttons.
Select List (single choice).
Select List (multiple choices).
Select List (cascading).
Get custom field options
GET /rest/api/{2-3}/field/{fieldId}/context/{contextId}/option
Returns a paginated list of all custom field option for a context. Options are returned first then cascading options, in the order they display in Jira, the method returns the following information:
POST /rest/api/{2-3}/field/{fieldId}/context/{contextId}/option
Creates options and, where the custom select field is of the type Select List (cascading), cascading options for a custom select field. The options are added to a context of the field.
The maximum number of options that can be created per request is 1000 and each field can have a maximum of 10000 options, the method returns the following information:
PUT /rest/api/{2-3}/field/{fieldId}/context/{contextId}/option
Updates the options of a custom field. If any of the options are not found, no options are updated. Options where the values in the request match the current values aren't updated and aren't reported in the response.
Note that this operation only works for issue field select list options created in Jira or using operations from the Issue custom field options resource, it cannot be used with issue field select list options created by Connect apps.
Deletes a custom field option. Options with cascading options cannot be deleted without deleting the cascading options first.
This operation works for custom field options created in Jira or the operations from this resource. To work with issue field select list options created for Connect apps use the Issue custom field options (apps)operations.