Forums

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

JIRA Automation Rules scheduled daily and duplicate sending

Steven Lloyd
Contributor
March 11, 2021

Hi,

I was wondering if anyone had any experience using the JIRA Automation. We are looking to send out notification emails to users when the Due Date is due for the following day, using "Duedate >= now() and Duedate <= 1d" which is scheduled to be ran every 1 day.

I was wondering if anyone knows at what time the scheduled daily automation is executed? Would this be at the same time of day as it was created or is this set by Atlassian? Additionally using the JQL above and the timing of the automation being executed would we be likely to see duplicates being sent to users?

The main aim is to allow users to see larger items which are due tomorrow through a notification.

Any help or solutions anyone has used previously would be greatly appreciated.

Cheers

Steven 

3 answers

3 accepted

1 vote
Answer accepted
Malik Waqas March 11, 2021

Indeed it runs at creation. in spite of the fact that uncertain if that changes if altered TBH. What I prescribe is to utilize the CRON articulation and have your day by day runs on a predefined plan.

Steven Lloyd
Contributor
March 11, 2021

Thanks for getting back so quickly. I think from the similar answer the CRON Expressions are the way to go, thank you for informing me.

Cheers

1 vote
Answer accepted
Jack Brickey
Community Champion
March 11, 2021

Yes it runs at creation. though unsure if that changes if edited TBH. What I recommend is to use the CRON expression and have your daily runs on a predefined schedule.

Steven Lloyd
Contributor
March 11, 2021

Thanks for the response, from the similar responses, looks like the CRON expressions are the way to go so I will try my hand at that.

Cheers

1 vote
Answer accepted
Olga Videc
Community Champion
March 11, 2021

Hello @Steven Lloyd  

You need to set it yourself

Go to automation create a new rule - > choose trigger - choose Scheduled and switch to "use CRON expression"

There you can specify when to send, add your desired JQL (Duedate >= now() and Duedate <= 1d" )

Also, make sure you check - more options - process all issue produced by this trigger in bulk

after that add a new component in automation send an email or what reminder you desire, you can use smart values.

Great tool for making CRON expressions 

https://www.freeformatter.com/cron-expression-generator-quartz.html

 

Automation_1.PNG

Automation_2.PNG

BR, Olga

Steven Lloyd
Contributor
March 11, 2021

Afternoon Olga

Thanks for getting back to me regarding the rule. I have tried to use the Cron expression so we will see how that works going forward.

Thank you for your help

Suggest an answer

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

Atlassian Community Events