Forums

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

I want to create an automation rule that sends an email 6 months after closing

Jason Selby
Contributor
October 25, 2021

I need to be able to create an automation rule that sends an email to a mailbox 26 weeks after closing a service request and was asking the community the best way to do this as the rule i created failed last time, any ideas would be welcomed....

2 answers

1 vote
Guilhem Dupuy
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.
October 25, 2021

jj

Hi @Jason Selby ,

It tested something like this on my instance and it works :

For the trigger, you could use something like this, with the embedded jQL request : 

 

Auto1.png

And then send an email to an address you specify, like on this example :

Auto2.png

 

 

Let me know if it helps,

Guilhem

Jason Selby
Contributor
October 26, 2021

Guilhem, can you send me the JQL you have used because i cannot get it to validate

Guilhem Dupuy
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.
October 27, 2021

You could try this JQL : 

resolved > -27w AND resolved >= -26w

Or with this alternative JQL (for the same result) : 

resolutiondate > -27w AND resolutiondate >= -26w

Daniel Vest
Contributor
March 7, 2025

@Guilhem Dupuy Thanks for posting this solution! This was a help to me today.

0 votes
Vahagn Beglaryan October 25, 2021

You can use cron expression to schedule the trigger.

Vahagn Beglaryan October 25, 2021

JQL: status changed to closed before -25w after -27w

Cron: 0 0 10 ? * MON *

Vahagn Beglaryan October 25, 2021

So it will be triggered every Monday on 10:00 AM, and include all issues that have been closed 26 weeks ago.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events