Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using REST API, in allowedValues block from createMeta, how to find if value is deactivated

Aavo Tambur April 1, 2015

When I retrieve a list of fields with REST API using createMeta, then the allowedValues block for a field lists all of the values, also the ones which are deactivated and do not show up in the JIRA web version when creating an issue that way.

How can I find out through REST API if a value to a select list is deactivated or not?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Volodymyr Krupach
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.
April 2, 2015

Hi Aavo!

You helped me to realize that i have the same problem in my plugin. REST /field and /customFieldOption do not have any "disabled" flag as well.

If we do not get any hint here, then we should report this as a bug.

Volodymyr Krupach
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.
April 2, 2015
0 votes
Michael Kern July 7, 2015

Hi,

I have the same problem. 

I am currently working on a connection between a webserver and JIRA using jira-rest-java-client-1.1-m02. I am able to return all selectable values from a custom field of type "single selection list" using the API-method "CimFieldInfo.getAllowedValues()". But this method returns enabled values as well as disabled values.

Did you get any information on this?

 

Best regards

Michael

 

TAGS
AUG Leaders

Atlassian Community Events