Cron expression in automation for JIra

Sruthimol 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

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.
May 2, 2024

Hi @Sruthimol 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 * ? *

Sruthimol 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.

Suggest an answer

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

Atlassian Community Events