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,297,170
Community Members
 
Community Events
165
Community Groups

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

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 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

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
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

341 views 0 10
Join discussion

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