REST api for Custom Field Option does not show disabled flag

MuhammadU December 11, 2013
I need to show all disabled options using jira rest api. 

To get the custom field option we need its ID, I used the following :

/rest/api/2/customFieldOption/10326

It returns {"self":"http://example.com/rest/api/2/customFieldOption/10326","value":"Test Value"}

But it doesnot return disabled flag, whether the option is disabled or enabled, it doesnt tell.

Can anyone help how I can get the disabled status for custom field option using REST api or using AJS.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Bharadwaj Jannu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2013

I think with the current REST API we can't able to get the enabled/disabled details of custom field options.

1 vote
Trevor Hunt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2017

There is now a JIRA feature request for this:

https://jira.atlassian.com/browse/JRASERVER-60274

Go vote it up.

Nader Hadji Ghanbari July 30, 2017

And here is the corresponding request for JIRA Cloud: https://jira.atlassian.com/browse/JRACLOUD-60274

TAGS
AUG Leaders

Atlassian Community Events