We are currently trying to set up our Automation that is adding the Labels of the Parent, when creating a subtask.
So far we managed to add the labels, if it is only 1. So the problem appears, when there is more than one label to be set.
Our automation uses the following JSON:
{
"update": {
"labels": [{
"add": "{{issue.parent.labels}}"
}]
}
}
So I guess our question is: Is there a way to tell the automation that we need to use all of the labels in the array?
We already found out that {{issue.parent.labels.size}} will throwout the number of labels - but we didn't manage to create any solution with this info.