Answer the question
In order to leave comments, you need to log in
How to populate custom field with dropdown values using Rest API?
Tell me how to fill a custom field with drop-down values using the Rest API (there are a lot of values, I want to add them in bulk)?
Trying "customfield_10406": [{"value":"Option 1"}, {"value":"Option 2"}, {"value":"Option 3"}, {"value":"Option 4"}]
I get the response: {"errorMessages":["Can not instantiate value of type [simple type. class com.atlassian.jira.v2.issue.IssueUpdateBean] from JSON String; no single-String constructor/factory method"]}
Answer the question
In order to leave comments, you need to log in
Good afternoon
As I understand you are using Multiselect customfield
try this
{
"update" : {
"customfield_11272" : [{"set" : {"value" : "External Customer (Worst)","child": {"value":"Production"}}}]
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question