Automation to send a single email to assignee when multiple issues are due in Jira

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Send a single email to the assignee when multiple issues are due in Jira.

Solution

Create a trigger for Scheduled and update the value based on the requirement. In the below rule, the schedule is set to run every week on Monday. Click on Save.

(Auto-migrated image: description temporarily unavailable)
  • Add a new component and select Then: Add an action > select Lookup issues. Update the JQL so the required issues are being looked up for the next action. Click on Save.

(Auto-migrated image: description temporarily unavailable)
  • Add new component with For each: create a branch > Advanced branching > Enter the smart value as {{lookupIssues.assignee.distinct}} and Variable name as distinct. Click on Save.

    (Auto-migrated image: description temporarily unavailable)
  • Add a new component and select Then: Add an action > enter the JQL used for lookup action previously but also include assignee = {{distinct}} just like shown in the below reference

(Auto-migrated image: description temporarily unavailable)
  • Add a new component and select Then: Add an action > select Log action. This is optional. If you would like to review the user details in the audit log.

    (Auto-migrated image: description temporarily unavailable)
  • Add a new component and select Then: Add an action > select Send email. While updating the To field, make sure to use {{distinct.emailAddress}}Click on Save.

(Auto-migrated image: description temporarily unavailable)

Expected results of the above rule

  • Users will receive only one email even though there are 3 issues that are due.

(Auto-migrated image: description temporarily unavailable)

Updated on February 27, 2025

Still need help?

The Atlassian Community is here for you.