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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,295
Community Members
 
Community Events
184
Community Groups

How can I pull the email address from the Description section of an Issue for an anonymous user?

I created an Issue Collector for our Front Door Request process. The Issue Collector was embedded in a Wiki page. 80% of employees submitting a request will be Anonymous. How can I capture their email in the Description section so I can setup an Automation that will send them notification as the issues transitions from Open Status to Closed?

I am a Project Administrator (not a Jira Admin). Below is the results of smart values query:

Description: {{issue.fields.description}}

Description:

Test

*Reporter*: Carl Vernon

*E-Mail*: [mailto:cv1356@abc.com]

 

I have tried the following without success:

Email: {{#issues}}{{issueCollector.email}}{{/issues}}
Email: {{issue.MailtoCustomer.value}}
Reporter: {{issue.description.match("Reporter:\s(.*)")}}
Email: {{issue.description.match("E-mail:\s(.*)")}}
Email: {{issue.description.match("([a-z]+@[a-z]+\.[a-z]{2,4})")}}
Email: {{issue.description.email}}

 

1 answer

1 accepted

5 votes
Answer accepted

I figured it out. I used a Smart Value string query to pull the email from the Description section of the Issue Collector:

{{issue.description.substringBetween("o:","]")}} 

Description:

Test

*Reporter*: Carl Vernon

*E-Mail*: [mailto:cv1356@abc.com]

 

RESULTS: cv1356@abc.com

I then created an automation with the Create Trigger and used the Smart Value string query in the To: field of the Send Email component.

Capture.JPGCapture2.JPG

I was looking for this for ages... thank you! 

Here is a smart value to extract Name from the issue collector as well: {{issue.description.substringBetween("*: ","\n")}}

This is amazing and super helpful.

Thanks @Ileana Reyes-Buchholz

Hi @Ileana Reyes-Buchholz @Krzysztof Skrzypczyk  @Prasad Kawadkar Thanks for this great tip. I've successfully configured the automation rule in my JIRA cloud instance and the audit log says the email has been sent. However, I don't see anything in my inbox. Can you please share what am I missing?

Like Mukesh Kumar Bari likes this

Did you set yourself as the Default Reporter? This will also make it possible to setup future automations for Anonymous Users.

Hi @Ileana Reyes-Buchholz  Due to the integration between qTest and JIRA, yes the default reporter comes as my name. however, I followed this method to send email to non-jira users. so I was pulling the substring email from the description. The reporter shouldn't really matter. For testing purposes, I gave my email address in the description field. 

It actually worked. I think it as an issue with one particular jira ticket. thanks for the help. 

Great - so glad it worked for you.

Mukesh Kumar Bari
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!
Apr 02, 2023

I followed the same, the Automation rule runs successfully but the mail is not being sent, I tried giving a specific mail too but no luck.
Please help.

Check on the Spam folder.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events