"customfield_10055": {
"self": "https://xxxxx.atlassian.net/rest/api/2/customFieldOption/10177",
"value": "_Interní",
"id": "10177",
"child": {
"self": "https://xxxxx.atlassian.net/rest/api/2/customFieldOption/10192",
"value": "NG",
"id": "10192"
}
}Hi, I have trouble creating automation for custom field when the value is parent-child object.
But the child is optional.
{
"fields": {
"customfield_10055": "{{triggerIssue.fields.customfield_10055.asJsonObject("id")}}"
}
}I also tried many other possibilites.
And this is the error I get:
(Can not instantiate value of type [simple type, class com.atlassian.jira.issue.fields.rest.json.beans.CustomFieldOptionJsonBean] from JSON String; no single-String constructor/factory method (customfield_10055))
Thank you