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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,482
Community Members
 
Community Events
185
Community Groups

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

2 answers

@Sai Avinash Duddupudi do you find any solution for this problem? 

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 03, 2021

@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?



Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 03, 2021

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?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 05, 2021

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
AUG Leaders

Atlassian Community Events