Hi,
I have an automation in which an new issues will be created during a certain transition.
During this action I would like to copy two different custom fields over to the new issue. These two custom fields are cascading fields.
I managed to copy a single field over by using
{
"update": {
"customfield_xxxxx": [
{
"set": {
"value": "{{triggerIssue.fields.customfield_xxxxx.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield_xxxxx.child.value}}"
}
}
}
]
},
"update": {
"customfield_xxxxx": [
{
"set": {
"value": "{{triggerIssue.fields.customfield_xxxxx.value}}",
"child": {
"value": "{{triggerIssue.fields.customfield_xxxxx.child.value}}"
}
}
}
]
}
}How do I get a second field in? Just repeat the above does not work. My knowledge on JSON is very limited.
Thanks for your advice
Laura