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: 

Cron expression in automation for JIra

Sruthi Kumaran
May 1, 2024

Good day!

I want to schedule an automation to trigger 3 Business days before the end of the month.

please help to get the cron expression for the same.

(Note: I have the cron expression to trigger 3 days before end of month (which includes weekends)

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new 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 Champions.
May 2, 2024

Hi @Sruthi Kumaran 

In the Scheduled Trigger in the rule editor, there is a link to learn more about CRON expressions, and on that linked page, it shows examples for the last weekday of the month.  Please look there to learn more.

Kind regards,
Bill

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2024

Hello, Good day. You can try the following cron expression.

 

0 0 9 L-3 * ? *

Sruthi Kumaran
May 1, 2024

Thanks ! This will read as -At 09:00:00am, 3 days before the end of the month, every month. But I am looking specifically for Business days, If any month have last days as Weekends this will not be helpful.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events