Forums

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

How can I pull the email address from the description of the ticket and use it in an automation

Jay Rajaram October 25, 2021

We are using an email listener in an inbox to create tickets in JSD cloud.

When the ticket gets created ,the reporter is populated with the default reporter name we add during the set up of handler. 

The ticket description has the actual sender email address at the end like below:

[Created via e-mail received from: John Citizen <johncitizen@gmail.com>]

Is there any way to pull this email from the description and use in an automation rule.

please assist

1 answer

0 votes
Lisa Grau
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 25, 2021

Hi Jay,

you can use a regular expression to achieve this. How exactly do you want to use the E-Mail?

Jay Rajaram October 25, 2021

like, I want to get the email and write a rule to update the reporter field with this email

Lisa Grau
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 25, 2021

You very likely won't be able to update the reporter field with an e-mail adress. The reporter needs the unique accountId to be mapped.

Jay Rajaram October 25, 2021

Thanks Lisa. 

Any help on the expression to get the email address from description will be much appreciated. Cheers

Jay Rajaram October 25, 2021

if adding the email to reporter is not possible,we want to send an email back to that address acknowledging the receipt of the ticket.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events