Get Options For Field

GET {{baseUrl}}/rest/api/3/customField/:fieldId/option?startAt=0&maxResults=1000

Returns a paginated list of options and, where the custom select field is of the type Select List (cascading), cascading options for custom select fields. Cascading options are included in the item count when determining pagination. Only options from the global context are returned.

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.

Permissions required: Administer Jira global permission.

Request Params

KeyDatatypeRequiredDescription
startAtnumberThe index of the first item to return in a page of results (page offset).
maxResultsnumberThe maximum number of items to return per page.

RESPONSES

status: OK

{"maxResults":2,"startAt":0,"total":100,"isLast":false,"values":[{"id":10000,"value":"Option value","cascadingOptions":["Child option","Child option 2"]},{"id":10001,"value":"Other option value","cascadingOptions":[]}]}