The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the field value options of different contexts of a custom Field

Likhita
August 19, 2024

Hi All,

I am trying to get  list of all the values of a custom field of type Select list for all the different contexts configured for that field.

Example:- For a custom field 'X' (selectlist) have been used in so many projects and have unique values in all the projects. I need to get all the values of different contexts of that field.

Could anyone please suggest a solution instead of manually copying them..

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nikola Perisic
Community Champion
August 19, 2024

Hi @Likhita 

Have you tried using this API: https://developer.atlassian.com/server/jira/platform/rest/v10000/api-group-customfieldoption/#api-group-customfieldoption

You would have to specify the id of each custom field but is certainly less work.