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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Manoj Kumar Gangwar
Community Champion
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 Kumar Gangwar
Community Champion
January 17, 2025
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events