Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to fetch all options from a Custom Field via JIRA REST API Edited

In my Jira namespace, while creating a ticket, there is a CustomField dropdown called Client which has some options as shown in the below image.

I am not able to find a way to fetch these options in the dropdown via JIRA REST API.

Can someone please suggest how to get it?


 

Bbv8mjW

1 answer

@Nic Brough _Adaptavist_   Thanks for the quick reply.

the id for the above client dropdown is customfield_12345

Can you pls tell how to retrive the fieldId and contextId so that I will use the same in the API call to fetch the field options?



Same place, but the line above is "issue custom field contexts".  You might want to check "projects" in the same area.

did not understand...... can you be more specific?

You will need to use the custom field context calls, as documented in the link I gave, to get the context for the custom field you are querying the contents of.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

750 views 12 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you