The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
Needing to get the options for custom fields in Jira Server. I am able to get a list of the custom fields and a single value for a custom field.
However, am not able to get the list of options for a custom field (customfieldID_XXXX).
I have trawled everywhere and cannot find a solution.
Any suggestions would be of great help.
Thanks.
With ScriptRunner e.g. in the Console you could access the values - see https://library.adaptavist.com/entity/update-the-value-of-custom-fields-through-the-script-console
From the Rest API this looks like a proper way: https://confluence.atlassian.com/jirakb/how-to-retrieve-available-options-for-a-multi-select-customfield-via-jira-rest-api-815566715.html
Hello @Tim Benton
How are you trying to get this information? Are you trying to get it with the API or the UI?
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.
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.
This is not possible with REST API. There is no call for this. For the customFieldOption call you have to know the id, but it is at all returned when querying an issue.
Try this workaround :- https://confluence.atlassian.com/jirakb/how-to-retrieve-available-options-for-a-multi-select-customfield-via-jira-rest-api-815566715.html
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.
If you have jira admin permission , you can go to custom fields and check values of that custom field.
otherwise you can see available values while creating an issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.