Hey,
I want to create a jira automation in which I try to extract all autors who have the email domain xxx@special-domain.de to route them to a team queue.
I can't achieve the condition.
Cheers,
Thies
you could use the substringAfter method of smart values:
{{issue.reporter.emailAddress.substringAfter(„@„)
Best
Stefan
Hi, Thies,
You can try accessing that information using:
{{issue.reporter.emailAddress}}
You can use other user fields instead of reporter according to your use case. From that you can split the e-mail value:
{{reporter.emailAddress.split("@").get(1)}}
get(1) to get the second element of the array, since the username preceding the @ is get(0)
You could then do an advanced compare with the hardcoded string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.