I have a custom field that includes dropdown options. How can I select an option from that field by using JIRA API
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/
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.