I have a cascading custom field on Epics and Tasks. What should be the JSON syntax in my Jira automation for copying the value from the parent Epic to it's Task.
At the moment the locig in the automation is this:
- Trigger: issue created
- Condition: confirm the issue has an epic link (not empty)
- Action: edit issue to copy the parent epic's fields: components, customfield_15800 (advanced)
I have tried this JSON, but i doesn't work - automation copies component field but doesn't copy the value in customField_15800 to a task from it's parent epic (automation end is succes though):
{
"update": {
"customField_15800": [
{
"set": {
"value": "{{triggerIssue.fields.customField_15800.value}}",
"child": {
"value": "{{triggerIssue.fields.customField_15800.child.value}}"
}
}
}
]
}
}
Any idea on what the syntax should be would be greatly appreciated. Thank you alredy in advance!