Get custom field options
Returns custom field’s options defined in a given context composed of projects and issue types.
/api/2/customFields/{customFieldId}/optionsAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
customFieldIdstringrequiredThe ID of the custom field.
maxResultsstringThe maximum number of results to return.
issueTypeIdsstringA list of issue type IDs in a context.
querystringA string used to filter options.
sortByOptionNamestringFlag to sort options by their names.
useAllContextsstringFlag to fetch all options regardless of context, project IDs, or issue type IDs.
pagestringThe page of options to return.
projectIdsstringA list of project IDs in a context.
Returned if a custom field with the given customFieldId exists and user has permission to it.
optionsCustomFieldOptionBean[]Show propertiesHide properties
CustomFieldOptionBeanchildrenIdsinteger<int64>[]disabledbooleanidinteger<int64>selfstring<uri>valuestringtotalinteger<int32>Returned if a custom field with the given customFieldId does not exist or the user does not have permission to view it.