LookupIssues email sending issues to reporters that aren't relevant to them

Precious Declan
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!
May 20, 2022

Hi all,

Thanks in advance for your help!

I have created a rule to send out emails to the reports notifying them of an issue due to expire. 

I have used To: {{lookupIssues.reporter.emailAddress}} and it sends all issues affected even those not relevant to the reporter.

I have tried {{lookupIssues.reporter.emailAddress.distinct}} which doesn't work.

Another option is to not use lookupissues, and use scheduled trigger JQL, but that sends multiple emails for all issues to the right reporter but i want the list of issues email to be sent out once and be included in a table in the email body.

 

Is there away I can keep the issues in one email in a table but only including the reporters affected.

1 answer

1 accepted

3 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2022

Hi @Precious Declan and welcome to the community:

This one is a tricky one, but it is possible. The key is that you need to perform a branch on {{lookupIssues.reporter.distinct}} and then execute a second lookup inside the branch.

Here's an example of one that I've used successfully previously:

2022-05-20_05-52-33.jpg2022-05-20_05-53-42.jpg2022-05-20_05-54-06.jpg2022-05-20_05-54-38.jpg

Precious Declan
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!
May 23, 2022

Hi @Mark Segall

Thank you so much this has worked great.

I did have to add my first lookup issues JQL into the branch lookupIssues to get the correct output. 

 

Thank you again!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events