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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.