Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create automation for a custom field with parent - child value

"customfield_10055": {
                    "self": "",
                    "value": "_Interní",
                    "id": "10177",
                    "child": {
                        "self": "",
                    "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] from JSON String; no single-String constructor/factory method (customfield_10055)) 

Thank you

1 answer

1 vote
Joy Chiu Atlassian Team Jul 19, 2021

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.

You'll want to use something like:

    "fields": {
        "Your Field": { "value": "{{triggerIssue.Your Field.value}}", "child": { "value" : "{{triggerIssue.Your Field.child.value}}"} }


Joy [Automation fro Jira]

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

935 views 2 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you