Hi everyone,
I am trying to add automatically the labels into the "Summary" field of an issue.
When it comes to adding the labels for the first, it's working pretty well:
However, when the labels are updated, I am struggling to remove the previous labels from the Summary and replace them with the new ones.
The result I have is that all the labels are added to those already existing:
When it's an update, I have tried to remove everything that goes after the "||" and to add the labels but it doesn't seem to be working.
Does anyone has an idea of how I could do this?
Thanks in advance for your help!
I managed to do it by adding this in the "Else" part: {{issue.summary.substringBefore("||")}} || {{summaryLabels}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.