Hi there,
I have a strange effect when trying to use smart value for an issue in Link issue action.
If match returns only one issue - I get an error issue not found
If match returns 2 issues, it works as a charm.
Could you please help me with the smart value?
{{comment.body.match("([A-Z]+-\d+)")}}
OK we found the reason for that. The smart value contained space before first {
Now it works fine.
Strange that Atlassian do not do trim before applying logic to smart value fields. Even stranger that logic works differently if there is one value or a couple.
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.