Hi,
I'm having trouble with an automation. I'm trying to copy the values from a custom field that is a multi-select option list (like Labels) of a Parent to the triggering issue.
Trigger: Parent Link (Match) value changes (in this case Parent link is used for the hierarchy above Epics, not subtask to task)
If: Parent Link is not empty
Then: Lookup issues: key = {{issue.Parent Link}}
And: Advanced edit
{
"update": {
"[Custom Field]": [
{{#lookupIssues.[Custom Field]}}
{ "add": "{{.}}" }{{^last}}, {{/}}
{{/}}
]
}
}I'm getting the error:
"com.codebarrel.automation.rule.error.action.additional.field.update.operations.invalid.execution
[Custom Field]"
It works fine taking [Custom Field] from the current issue (I tested by changing the beginning to "labels": [{{#issue.[Custom Field]]....)
I believe lookupIssues is working since I can get e.g. #lookupIssues.summary to copy over but not labels or my Custom Field.