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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Jira Automation Email - Loop Through Issues for each Assignee

I am building a Jira automation rule to send a scheduled email with the results from a JQL query. I currently have the email body formatted as such:

The following issues are due soon: 
<li> <a href="{{toUrl}}">{{key}} - {{summary}}</a> is due on: <b>{{duedate.format("MM/dd/yyyy")}}</b></li>

 which loops through the issues from the JQL query. However, this loops through ALL issues in the query results and sends the email to:

1. All assignees as a group email (if option "Process all issues produced by this trigger in bulk" is selected in the "Scheduled" options)


2. Each assignee individually, but with each issue in a different email (if option "Process all issues produced by this trigger in bulk" is not selected in the "Scheduled" options)

What I would like is for each assignee to get only one email with all issues in a list. The email should only send to each assignee individually, not as one email with multiple recipients.Screen Shot 2020-10-07 at 10.45.22 AM.pngScreen Shot 2020-10-07 at 10.45.10 AM.png


3 answers

1 accepted

4 votes
Answer accepted
Sedera Randria
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 07, 2020

Hi @ND

Instead of using Automation, can I suggest 3 easier ways to let users know about approaching due dates?

First, create a JQL filter + save your filter. Edit filter details: update permissions to make sure users can use it. Add an explicit filter name and filter description. Then :

  1. In Issue/Manage filters: you can subscribe a group of users to this filter and configure the scheduler to send filter results every day at 9 am.
  2. you can also ask interested users to subscribe individually to this filter. And let them configure the scheduler with their preferences.
  3. Last: in the filter screen, users have access to Export/RSS feature.



What do you think about these suggestions? 

1 vote
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 12, 2020

@ND I think you are best off going with Sedera's approach. In Automation we have no way of grouping by a user or iterating over a list of users (then running a JQL for them).

@Sedera Randria approach is how I do in my team.



Nick [Atlassian - Automation Group Product Manager]

Hello, I can't make a loop and I don't get why...

The mail I receive is empty, no datas at all :\


I do have ONE issue in a active sprint for my test, but can't figure out how to make my code work


<li> [{{key}} {{summary}}]({{toUrl}}) was transitioned to {{}} </li>


Capture d’écran 2021-11-08 à 16.47.14.pngCapture d’écran 2021-11-08 à 16.45.30.png

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events