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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.