Get avaliable options for a customfield using rest api on jira cloud

simon January 16, 2025

I'm tying to get a list of options for a customfield on my jira cloud account (im not a global admin on jira. just the project im trying to query) 
no sure what endpoint i should be calling.

I have the customefield id  eg customfield_10900

I want to get the available options of the filed so i can set the vaule when i create the issue in the with a rest api call.

1 answer

0 votes
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 16, 2025

Hi @simon You need the context id as well to get the field values which can be provided by the site admin or org admin. Then you can use the below endpoint.

https://yoursite.atlassian.net/rest/api/3/field/customfield_12496/context/13227/option

simon January 17, 2025

What if i want to do that dynamically (its more than one field) on two different jira instances.. I hoping to beable to do it with api calls that i just have permission to . Just like when you create a ticket on the ui.

Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2025

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events