Forums

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

Issue collector name and email field

Dennis_H
Contributor
April 11, 2024

I'm trying to setup an automation rule that sends an email with the information submitted in the summary, name and email fields. I was able to get summary to work {{issue.summary}} but I can't get name or email to populate in the email. What is the syntax for those 2 fields so I can get the information in the email (they are the 2 mandatory fields in the issue collector)?

2 answers

0 votes
Dan Reinmann
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!
March 11, 2025

I was able to use this as this:

{{issue.description.substringAfter("[mailto:").substringBefore("]")}}

Screenshot 2025-03-11 152036.png

0 votes
Ste Wright
Community Champion
April 11, 2024

Hi @Dennis_H 

It depends - is the Collector...

  1. Matching the user to an existing site user? Or...
  2. Is it placing this information into the Summary field?

---

If (1), you can get the user from the Reporter field - i.e {{issue.reporter}}

You can also stipulate the user's name and email address from here - eg.

  • {{issue.reporter.emailAddress}}
  • {{issue.reporter.displayName}}

You can see more on how issue-based smart values work on on this help page, and user-based smart values on this page

---

If however it's (2), I would...

  • Have separate field(s) to store this information
  • Move this data to those fields using Automation (and REGEX to find the values)
  • Then, use those fields' smart values to add them to the email

If you've already done this - you can use similar smart values to the above - for example, if these fields were called "Collector Name" and "Collector Email", the values might be...

  • {{issue.Collector Email}}
  • {{issue.Collector Name}}

---

Let us know if you need any further help with this!

Ste

Suggest an answer

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

Atlassian Community Events