Forums

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

POST REST API unable to set value for dynamic dropdown

Akanksha Manocha
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!
July 21, 2022

API code snippet:

\"requestFieldValues\": { \"customfield_10\": [{\"value\": \"Technologies\" }], \"customfield_10\": [{\"id\":\"29\",\"value\": \"Drilling\"}],

 

 

while setting value using POST REST API in JIRA dropdown , it is not auto populated and the list values comes in dynamically in the select control.

which is the reason API is throwing the following error :

{"errorMessage":"Your request could not be created. Please check the fields have been correctly filled in. Please provide a value for required field 'Business Unit' Please provide a value for required field 'Business Segment'","i18nErrorMessage":{"i18nKey":"sd.validation.request.creation.failure.required.field","parameters":["Please provide a value for required field 'Business Unit' Please provide a value for required field 'Business Segment'"]}}

JIRA.PNG

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events