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
Hi @Thies Uhlenbruch
you could use the substringAfter method of smart values:
{{issue.reporter.emailAddress.substringAfter(„@„)
BestStefan
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.
It looks like you're new here. Sign in or register to get started.