Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to Exclude Holidays from a Scheduled Trigger Rule?

Tharaka_Hettiarachchi
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.
January 8, 2025

Hi everyone,

I’ve created a rule with a ‘Scheduled’ trigger to run on all working days. However, I want it to exclude holidays.

I’ve added next Monday as a holiday in the board, but the rule still shows that day as scheduled. Am I missing a step to ensure holidays are excluded?

Any guidance would be appreciated!

2 answers

2 accepted

4 votes
Answer accepted
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.
January 9, 2025

Hi @Tharaka_Hettiarachchi 

Unfortunately there is no way to get the configured non-working days for a board yet.  Here is a suggestion to add that feature to the REST API: https://jira.atlassian.com/browse/JSWCLOUD-23009

As a workaround, you could use the condition test @Trudy Claspill describes, with these possible sources for the holiday list:

Kind regards,
Bill

Tharaka_Hettiarachchi
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.
January 9, 2025

Thank You

2 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 8, 2025

The Schedule component of an automation rule schedule does not take into consideration holidays. It is purely a CRON function looking at the date/time of the Jira system.

If you want it to not execute actions on specified dates you will have to add a Condition after the trigger to ensure the current date is not one of your holiday dates.

There is not an Automation function to look at holidays you have defined in another Jira feature. You would need to explore the Jira REST API to see if that information could be obtained through an API call.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about

https://docs.atlassian.com/jira-software/REST/7.0.4/

Tharaka_Hettiarachchi
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.
January 9, 2025

Thank You 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events