Hello,
I'd like to get the parent and child values from a cascading list in a sub-task and fill in the same values in the parent ticket on a cascading list as well.
The automation is supposed to be trigger when a field is modified in the parent ticket, the automation should gather the value from the sub-task and fill the cascading lsit.
Both two cascading list have the same values but are two separate fields.
I tried to get the value by using the Branch "For sub-tasks", then create three variable :
for example :
- Variable name : myvar1
- Smart value : {{issue.fields.NAME OF MY CASCADING LIST.value}}
- Variable name : myvar2
- Smart value : {{issue.fields.NAME OF MY CASCADING LIST.child.value}}
Then i tried with additional field in json such as :
{
"update": {
"NAME OF MY CASCADING LIST": [
{
"set": {"value": "{{myvar1}}", "child": {"value" : "{{myvar2}}"}}
}
]
}
}
But nothing seems to work,
thanks in advance !