Hi,
i am using Jira Workflow Toolbox and i want to add a Workflow post-function that adds during a specific transition, a label to the issue - add this label to already existing values in the label field.
How can I write the parser expression for it? With the current configuration, existing labels will be replaced.
Hi @Katharina Flor ,
My name is Sergio, and I'm a member of the support team of Decadis.
You can achieve your current requirement by using the following general expression:
%{append(toStringList(%{issue.labels}), ["known-error"])}
This expression will join the current labels you have already selected with the label "known-error". The old values will remain, without being deleted as you mentioned in your comment, and also the value "known-error" will be added to the current labels which are selected for that issue.
If you have any questions about what JWT can do or how to implement any functionality for Jira, I encourage you to create a ticket on our support portal.
I hope this solution is useful for you. If you have any other doubt, please let me know.
Best regards,
Sergio
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.