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: 
  • Community
  • Q&A
  • Jira
  • Questions
  • I've a custom field that includes dropdown options.How can I select an option from that field by API

I've a custom field that includes dropdown options.How can I select an option from that field by API

Shibasish Chatterjee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2024

I have a custom field that includes dropdown options. How can I select an option from that field by using JIRA API

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 4, 2024

If its drop down, you can pass a value or ID depending on what you have.

"customfield_11449" : { "value": "option3" } or "customfield_11449" : { "id": 10112 }

Please spend some time with below links to further get to know Jira data structures:

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/

 

Shibasish Chatterjee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2024

Should I have to use the same API that I have already used for text customfield to populating the data or is there any other API for this dropdown CustomField? If I have to use some other API can you please paste the API Endpoint here.

Thank you.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events