I'm trying to create an automation which will copy only specific labels from Epic to its child which just has been added. I used Advanced Branching to get all lables from issue's Epic and choose only specific. But Edit issue action doesn't work as expected: it adds all chosen Lables at the same time and as result issue has only the final one added label.
Is it possible to save those specific labels somehow and add them all together as a list to the child issue in the automation?
Or maybe there could be other solutions that I missed for such scenario?
You are running into a situation where branches on more-than-one-thing are run in parallel and asynchronously. And so the edits are "walking over" and replacing each other. There is no way to do this type of update with such a branch.
However...you can to add the additional labels in one operation, and it will be faster to process.
One way to do that is to parse your additional labels and format them as JSON, and then add them in one edit using the advanced edit: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Adding-labels
Using this approach you would remove your branching and format the information you apparently used to drive the branch.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.