Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

Suggest an answer

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

Atlassian Community Events