Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get custom field option by ID

Returns a full representation of the Custom Field Option that has the given id.

GET/api/2/customFieldOption/{id}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idstringrequired

a String containing an Custom Field Option id.

Responses
200

Returned if the Custom Field Option exists and is visible by the calling user.

childrenIdsinteger<int64>[]
disabledboolean
idinteger<int64>
selfstring<uri>
valuestring
404

Returned if the Custom Field Option does not exist, or is not visible to the calling user.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/customFieldOption/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "childrenIds": [
    4,
    5
  ],
  "disabled": false,
  "id": 3,
  "self": "http://localhost:8090/jira/rest/api/2.0/customFieldOption/3",
  "value": "Blue"
}

Was this page helpful?