The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL for Automation Rule

Joshua Cotterell
Contributor
June 1, 2021

I can run a JQL search to find all issues assigned to a user. But I want to create an automation rule that only sends one daily email if they have issues assigned, not one for each issue assigned to them.

The rule isn't the problem, what I'm looking for is the JQL to only check if a user has issues - yes or no - then send an email. Is this possible?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Bill Sheboy
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 Champions.
June 1, 2021

Hi @Joshua Cotterell 

As you are using Jira Server version, a couple of options you could try are:

  1. Create a JQL filter to find the issues for currentUser() and then have each person individually subscribe to it
  2. Create an automation rule for each person, on a scheduled trigger, which then uses the {{issues}} smart value to send one email by treating the result as a batch.  Please look here for how to do that: https://confluence.atlassian.com/automation/bulk-handling-of-issues-993924653.html

Best regards,

Bill

Joshua Cotterell
Contributor
June 1, 2021

Thanks, @Bill Sheboy , I didn't even see that Bulk button! That did the trick and made it do EXACTLY what I wanted!

Like Bill Sheboy likes this