Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Email located in Summary of ticket

We would like to set up an auto-response to an email/ticket in which the response email is located in the email Subject header or in the case of Jira the Summary field. Can the email be stripped from the Summary and used as a response email in automation? The other option is to use the reply-to email field which contains the correct email that we want to setup with auto-response but I understand that JSM does not support that field.

 

Sincerely,

Robert

1 answer

2 votes

Hello @Robert Munoz,

Welcome to the Atlassian Community!

Testing on my local site and with the great help of my colleague, we were able to create an automation rule that will get the email address from the summary laugh

In this case, it’s necessary to use Regex and create a variable that will store the email address added to the summary so then, it can be added as the “To” on the Send email action.

Go to the automation page and create a rule as it follows: 

When: Issue created

Then: Create variable

Add a name for the variable, here we are using “email” and the smart value will be: 

{{issue.summary.match("([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)")}}

Screen Shot 2021-07-19 at 17.14.41.png

Then, add another action that will be “Send email” and on “To” add the variable that you previously created.

Screen Shot 2021-07-19 at 17.15.12.png

Hope this helps!

Kind regards,
Angélica

Hi Angélica,

I just created an automation rule using your email smart value regex and wow! That seems to do the trick! Thank you and your colleague very much! 

 

Sincerely,

Robert Munoz

Like Angélica Luz likes this

Suggest an answer

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you