Combined Automation Rule - Due Date and Soon to be due Date

dlphi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 2, 2024

Hi,

 

Please help to combine two automation rules in a single rule. I can create these rules separately, but not sure how to do it together.

Rule 1 - Sends weekly email reminders to the issue owner if their issue's due date has expired.

Rule 2 - Sends weekly email reminders to the issue owner if their issue will expire in 30 days .

So in the output, we will have an HTML email with that says

 

Your Expired issues

Issue 1, how many days ago expired

 

Your soon to be expired Issues

Issue 2, Expires in 30 days.

 

Thanks.

2 answers

0 votes
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 Leaders.
July 2, 2024

Hi @dlphi -- Welcome to the Atlassian Community!

If you already have these two rules written, you may mine their contents to create your new, single rule.

If not, this outline of a rule may help:

  • trigger: scheduled weekly with no JQL
  • action: lookup issues with JQL, to identify any issues with owners / assignees that will meet either of your criteria
  • advanced branch: branch over the distinct owners / assignees
    • action: lookup issues with JQL to find the expired issues for the branched to assignee
    • action: create lookup table, storing the result of the lookup issues
    • action: lookup issues with JQL to find the soon to be expired issues for the branched to assignee
    • action: send email
      • using both the lookup table and lookup issues results, create your message

Kind regards,
Bill

0 votes
Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 2, 2024

You could wrap these in IF THEN conditions or use branches.

 

 

Suggest an answer

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

Atlassian Community Events