How to handle bank holidays?
Asked by jbartlett86:

Hi,

We have just started using OpsGenie in anger over the last few months and as previously mentioned in [this post](https://community.atlassian.com/t5/Opsgenie-questions/How-can-I-setup-national-holidays/qaq-p/1065267) we are setting up long lead time rotas across many teams and need to ensure that UK bank holidays can be directed to the "Non-Working Day" schedule we have created.

I can't see any way to do this still, has anything progressed around this feature request?


Answers:
author: Nick H
body: Hi [@jbartlett86](/t5/user/viewprofilepage/user-id/1155171) ,

At this time there is no update on that feature request (scheduled Routing Rules), but we'll be sure to reach out if there are any in the future.

In that shared post - my colleague, Emirhan, did suggest using overrides which is typically what we see most customers using to account for holidays. But if your use case requires routing alerts to a different schedule during holidays vs. no-one, I suppose you could use a combination of an Alert Policy + a Maintenance Policy to account for these unique days and who is on-call during them.

Alert policies can be used to modify alerts during creation - Ex: increase the priority, add tags, or in your case - add/remove responders (such as a team, escalation, schedule). These can be configured on both the global level or team level: <https://docs.opsgenie.com/docs/global-policies>

Maintenance policies provide the ability to enable or disable multiple policies, AND can be scheduled. These can also be configured on both the global or team level: <https://docs.opsgenie.com/docs/maintenance>

My idea is to create an Alert Policy that essentially strips any of the responders initially added to the alert during creation, then adds a Holiday (or specific) Schedule in replacement. While the Maintenance policy is scheduled to the date of the holiday, and will enable the Alert policy only for that day. Screenshots provided below as well to reference on how this can be configured on the team-level.

Alert Policy:

![comm1.png](https://community.atlassian.com/t5/image/serverpage/image-id/112404iCA7A3152652AD61A/image-size/large?v=v2&px=999 "comm1.png")

Maintenance Policy:

![comm2.png](https://community.atlassian.com/t5/image/serverpage/image-id/112407iFD45823930D73B19/image-size/large?v=v2&px=999 "comm2.png")

Here's an alert example of both these policies working together:

![comm3.png](https://community.atlassian.com/t5/image/serverpage/image-id/112411iCB1B2B56F3417AF2/image-size/large?v=v2&px=999 "comm3.png")![comm4.png](https://community.atlassian.com/t5/image/serverpage/image-id/112412i6F5944B43962B5C3/image-size/large?v=v2&px=999 "comm4.png")![comm5.png](https://community.atlassian.com/t5/image/serverpage/image-id/112413i7E4875C44ED62E65/image-size/large?v=v2&px=999 "comm5.png")

Hope this helps! Please let us know if you have any questions, concerns, etc. around this workaround.

-Nick

comments: author: Florian Beer
body: Hi,

this seems to work but it would be really nice to be able to import country specific holiday calendars. In this current setup I have to fill in maintenance windows that activate the policy for each year.

Thanks,  
Florian


author: Michael Grivas
body: Hi [@Nick H](/t5/user/viewprofilepage/user-id/2540930) ,

In order to simplify the overrides, it would be good if a holidays calendar could be added to mark the days in the rotaion or "who's on call" view.

I wonder if it would be better to add support to confluence calendars.

That way, we could add holidays, or even vacation and other events, and see them in the rotation board, making it easier to arrange the overrides.


author: David Whitney
body: I would support adding a custom "Holiday" calendars as an OVERRIDE schedule In certain sectors, like Higher ED, there are a bevy of days off that are atypical for other industries (eg Spring Break), that need special coverage.


author: Stephan Schwiderski
body: It works fine, but is there a possibilty to re-use the maintenance policy for different teams? It doesn't make sense, to enter all the bank-holiday overrides for every team seperately.


author: Michael Grivas
body: [@Stephan Schwiderski](/t5/user/viewprofilepage/user-id/5375984), what works fine? Do you have some way to add bank-holidays, even per team ?


author: Stephan Schwiderski
body: No, I did it like the description at the top; manually without a calender.