Forums

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

Adding Bulk Processing and Scheduling to Global Automation

Theresa Gothard June 29, 2022

Hello,

I feel that this should be a simple solution, but I am just not finding it!  I have a global automation set up so a user receives an email every time a particular status is set.  However, I would like to have them receive only a bulk email twice a day with the list of issues that have been set to this status so they are not receiving dozens of single emails all day.  Any help would be appreciated on how to achieve this.

3 answers

1 vote
John Funk
Community Champion
June 29, 2022

Hi Theresa - Welcome to the Atlassian Community!

Try creating an Automation Rule using a scheduled trigger with the lookupIssues function. Here is an example:

Screenshot.png

Theresa Gothard June 29, 2022

Thanks John - I think we're on the right path here.  But if I'm understanding this solution correctly the scheduled email will contain all issues with the "Develop Underway" status.  Is there a way to only include those that have been changed to "Develop Underway" status since the last email?  I basically want the email to alert them to what is new, in our case, "Ready for Review"

John Funk
Community Champion
June 29, 2022

Sure - just write your query in such a way as that. You can actually add the JQL to the Scheduled trigger. 

Theresa Gothard June 30, 2022

Hmmmm...seems that I'm not doing something correctly.  I'm running it after I change the status of 2 issues, but when I get the email I'm receiving 2 separate emails with all the issues in that status.  I'm obviously missing a step.  Any idea?

Capture.PNG

John Funk
Community Champion
June 30, 2022

Let's try two things.

1. Change your JQL to this: 

project = CricketABC and status = "Ready for Review" and status changed to "Ready for Review" after -6h

2. Click off the box for Only Include issues that have changed. 

Let 's see what that does. 

Danno
Community Champion
July 1, 2022

@John FunkI think she is getting the correct issues in the search but if I am correct @Theresa Gothard you can't come up with how to make your email a digest style.

I did this same thing recently but could not come up with a way to make the email have more than one issue in it. My search would come up with five issues and I could get it to return the number of distinct users (4) but I couldn't figure out how to get the email to the user that had two issues assigned to them into one email to the user.

John, do you have any ideas on how to do that?

Theresa Gothard July 6, 2022

@John Funk I think the logic of having the -6h made sense, but unfortunately did not produce any results.  Hoping to be able to experiment further in the next few days, but open to any additional suggestions!

Thanks so much!

Like John Funk likes this
John Funk
Community Champion
July 9, 2022

Did you test the jql in an advanced filter to see if the jql itself works? I tested it with success on one of my projects. 

0 votes
Danno
Community Champion
June 29, 2022

@Theresa Gothard, are you looking for a way to have a single user be notified when an issue (or is that all issues?) is set to one particular status?

At first glance, it seems to me that you just need a filter and then set up a subscription for it. Or this user could have a dashboard that is updating all day long.

Danno
Community Champion
June 29, 2022

Or you could use an automation rule as @John Funk explains below. 😁

Like # people like this
0 votes
Robert Wen_Cprime_
Community Champion
June 29, 2022

Hello @Theresa Gothard ! Welcome to the Atlassian Community!

There isn't anything "out-of-the-box".  You could look at the search I made for Atlassian Marketplace apps that provide an email notification digest capability.

https://marketplace.atlassian.com/search?query=email%20digest

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events