Forums

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

No automation on Sundays

Paul Roescher Service Desk (manager)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2021

As per the religious background of the company I work for, our management and some customers dislike receiving automated email notifications on Sundays. Can I somehow exclude Sundays? By the way I'm familiar with SLAs but this this is purely about excluding Sundays from automations.

Thanks for all your appreciated input.

Hans de Ree

eCommerce Manager / Paul Roescher

1 answer

0 votes
Dirk Ronsmans
Community Champion
February 5, 2021

Hi @Paul Roescher Service Desk (manager) ,

Quick question, do you simply wish to block the emails on Sundays or actually delay them till Monday?

If it is the first you could look in to adding an IF clause to your automation rule which incorporates the startOfWeek() or endOfWeek() functions.

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/#Advancedsearching-functionsreference-startOfWeek

If you compare those with now() you could block the action all together based on the week day

Paul Roescher Service Desk (manager)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2021

Hi Dirk,

Thanks for your super-quick reply. I wish to delay them 'till Monday. Very good question indeed. Customers do need to receive these automated messages, but simply not on Sundays.

Cheers

Hans

Jack Brickey
Community Champion
February 5, 2021

I think the answer will depend on the details of each automation rule. The question I would first answer is “what automations are being triggered on Sunday and why?” Then you can attack the issue more completely. For example if you have daily rule running then you can change that to not run on Sundays. If the rule is triggering due to a manual event then you would need to do something as Dirk recommends to exit the automation but there is no “delay” function that I’m aware of but could be wrong. I found this addon app that might be worth looking into - smart-notifications 

Like Dirk Ronsmans likes this
Dirk Ronsmans
Community Champion
February 5, 2021

Indeed @Jack Brickey !

@Paul Roescher Service Desk (manager) as your use case is so specific something that I might think of on the fly is a double automation.

1) based on what happens you actually send out the email if it's not sunday (or catch it with the JQL)

2) if you want to delay them and the app that Jack suggests isn't working out for you, maybe you could do a fallback in your first rule where you write a date to a custom field? Then a 2nd automation could be scheduled to run on monday and send out all the delayed emails.. problem there might be that you would need to catch what the email content is so it might get really complex and over engineered really fast..

Suggest an answer

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

Atlassian Community Events