I'm trying to setup label inheritance on my tasks.
For a single label, it works wonder :

But when my Epic has multiple Labels is doesn't work, I'll get "Label1, Label2" and 2 issues :
it tries to create a single label instead of 2 seperate labels.
even that fails, as there is a space (The label 'Label1, Label2' can't contain spaces. (labels))
If I translate that in some simple code I'd need :
foreach label in issue.Epic Link.Labels
issue.Labels.add(label)
But how can I do that in Jira Automation ?
Remark : I'm not sure if it is possible to set my issue Label equals to my Epic Labels, but that's not what I'm trying to do, as my users should be able to set new labels specific to their issue that are not present in the Epic.