HI,
I'm setting up automation in JIRA where creating a new version triggers the update of the 'Fix Version' field for specific issues.
I'd like to include a condition to only update issues when the new version name starts with 'XYZ'. I tried using the expression {{version.name.startsWith("XYZ")}}
in the Version name filter, but it's not working as expected. Could you help me identify the issue and suggest a solution?
Hi @kkimak -- Welcome to the Atlassian Community!
When you added that trigger, it offered a link to help using a regular expression to test the version name. Please review that for more information.
As that check is specifically on the version name, the only thing you would need to enter in the field is this:
XYZ.*
That would check for version names starting with XYZ followed by zero-to-many other characters.
Kind regards,
Bill
Hello @kkimak
Can can suggest this solution
Trigger : when Version created
If : smart value comparaison
{{version.name.startsWith("XYZ")}} equal true
Then for jql -> action
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.