Hello team, I'm trying to create an issue with this custom field that is a Dependent Dropdown.
I'm configuring the advanced option of "Additional fields" as follows:
{
"fields": {
"customfield_123": [{
"value": "Parent Value",
"child": [{
"value": "Child Value"
}]
}]
}
}
and I get this error
data was not an array (customfield_123), Can not deserialize instance of com.atlassian.jira.issue.fields.rest.json.beans.CustomFieldOptionJsonBean out of START_ARRAY token at [Source: N/A; line: -1, column: -1] (customfield_124)
I get the same field info using REST on another ticket, like this... but it didn't work either
"customfield_10288": {
"self": "https://myorg.atlassian.net/rest/api/2/customFieldOption/123",
"value": "Parent Value",
"id": "123",
"child": {
"self": "https://myorg.atlassian.net/rest/api/2/customFieldOption/124",
"value": "Child Value",
"id": "124"
}
}
Can you please help??
Hello @David Silva
Below is the syntax from docs - LINK
{
"fields": {
"customfield_11447": {
"value": "parent_option1",
"child": {
"value": "p1_child1"
}
}
}
}
Please modify your syntax and let us know if issues. Hope it helps. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.