You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to setup a simple automation that runs every night. The query produces a list of all Jiras that are past their due date or have not been touched in the last 7 days (screen shot below only shows part of the result of this query). The automation running every night seems to works as well as triggering it manually. And the query works.
The output/action of the automation is to send an email to each assignee with one of these tickets. The issue is that I have one ticket assigned to me that is late. There are 9 other jiras in this query that are also late. And I get an email from this automation. But no one else gets an email. When I look in the logs, I see the email to me but no attempt to send emails to anyone else who owns one of the jiras in the query results. Here are some pictures with some data redacted.
Why am I the only one getting this email? Thanks for your help.
Ed
Ed Hunnell
Hello @Ed Hunnell
Welcome to the Atlassian community!
With a Scheduled trigger if you add a JQL to the trigger itself to select the issues, then all the actions that follow will be executed for each issue retrieved. (1)
I think if you simply take the JQL from your Condition and put it in the Trigger, and also remove the Condition step, then you should get emails sent to each assignee for their respective issues.
You'll have to determine in your scenario if checkbox (2) should be checked or unchecked.
If you have a Scheduled rule that does not use a JQL in the trigger, then the steps in it will execute as only once unless you using branch. Using a Condition with JQL does not cause a branch of loop over all the issues. You would instead need to use For Branch / Related Issues / JQL. And then have the Send Email action inside the branch.
This was not the most intuitive (deleting my condition and putting the jql on the schedule page). But I implemented your first solution and it worked. Thank you very much.
Ed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.