The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
"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
Hi @Tomáš Chovanec ,
We don't support cascading select list as part of the simple forms yet (tracked here: AUT-327 ) so you'll need to use advanced fields. https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/#field-syntax-examples
You'll want to use something like:
{
"fields": {
"Your Field": { "value": "{{triggerIssue.Your Field.value}}", "child": { "value" : "{{triggerIssue.Your Field.child.value}}"} }
}
}
Cheers,
Joy [Automation fro Jira]
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.