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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Leader Feb 05, 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

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 Leader Feb 05, 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 Leader Feb 05, 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
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Security Advisory for Jira Service Management

On October 20, 2021, Atlassian published a security advisory for Jira Service Management. The full advisory is available at this link.  We've seen a number of questions already asking for...

126 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you