Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to tag a email request based on email's domain ?

Marc Rosarian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2024

Hi there, 

Here's the use case. In our  JSM premium, we manage 2 diff domains (domain1.com & domain 2..com)

So we get email requests from clients using exclusively these 2 domains. 
I'm trying to get JSM to automatically tag the request based on the reporter email address.

If the client (reporter)'s email address is "Client@domain1.com" , then the ticket should be tagged "Internal" .. and if the client (reporter)'s email address is "Client@domain2.com" then it should be tagged "External"

Any idea how to do that ? 
Any help would be greatly appreciated

Thanks

 

1 answer

2 votes
Ciara TN
Community Champion
July 8, 2024

Hi Marc, 

Welcome to Atlassian Community. 

Not knowing your set up fully I would offer a couple of pointers and depending on how your users look as the assignee. 

Set up two Organizations in your portal - Org1 - domain1 and Org2 - domain2. 

Using this Organization then set up automation to set the label or custom field to Internal or External. 

Or you could just use Automation and read the reporter's email - 

{{reporter.emailAddress.split("@").last}}

Hope this helps. 

-Ciara 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events