Get Custom Field Options (Context)

GET {{baseUrl}}/rest/api/3/field/:fieldId/context/:contextId/option?optionId=<long>&onlyOptions=false&startAt=0&maxResults=100

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.

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.

Permissions required: Administer Jira global permission.

Request Params

KeyDatatypeRequiredDescription
optionIdstringThe ID of the option.
onlyOptionsbooleanWhether only options are returned.
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

{&quot;maxResults&quot;:100,&quot;startAt&quot;:0,&quot;total&quot;:4,&quot;isLast&quot;:true,&quot;values&quot;:[{&quot;id&quot;:&quot;10001&quot;,&quot;value&quot;:&quot;New York&quot;},{&quot;id&quot;:&quot;10002&quot;,&quot;value&quot;:&quot;Boston&quot;,&quot;disabled&quot;:true},{&quot;id&quot;:&quot;10004&quot;,&quot;value&quot;:&quot;Denver&quot;},{&quot;id&quot;:&quot;10003&quot;,&quot;value&quot;:&quot;Brooklyn&quot;,&quot;optionId&quot;:&quot;10001&quot;}]}