Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Is there any ID for Dropdown values in Custom fields?

Is there any ID for Dropdown values in Custom fields

1 answer

0 votes
Ravi Sagar _Sparxsys_
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.
Oct 07, 2019 • edited

Hi @Sourabh Gulhane 

Yes there is an ID for dropdown options. You can find it by doing inspect element in your browser ..

or

.. by going to Jira Administration | Issues | Custom fields | Custom field's Configure option (under Actions) | Edit Option (under Options) and then hovering your mouse over the Edit (under Actions).

I hope it helps.

Ravi

thanks for solution.

can you tell me how to refer to this value in Json.

suppose my custom filed name is Color ( Id :1500) and having value Blue ( 1200), green( 1201) , yellow( 1202).

to refer to Color we will use "customfield_1500"

what reference value should i use for Blue , green and yellow.

Ravi Sagar _Sparxsys_
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.
Oct 09, 2019

If you are doing something with JavaScript then you can use customfield_1500, for options it could be either the option id or the option value. 

Just adding to this as I had a similar question as I was looking to find the option ID of a custom field which had radio buttons . I used the API option to search for the option IDs e.gxxxxx .net/rest/api/2/issue/LAC-11?expand=names. First I searched the name of the field and then searched for the custom field value which then reveals the option ID .What I found is for the field you have a values set in the ticket ,you can only find the Option ID of the value currently set. So if you are looking for the say 4 radio items option IDs in the list you need to set them one at a time and then do the API search.

Again would be great to have some more worked examples in the help for Workflow conditions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events