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

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.

Suggest an answer

Log in or Sign up to answer