Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,999
Community Members
 
Community Events
168
Community Groups

How to use business days in automation rule?

Edited

I am using automation rule to follow up with end users when their tickets sit for 3, 7 and 10 days then closing the ticket.

I have it working somewhat now with three automation rules with jql checking updated < -3d / -7d / -10d

My issue now is that this automation is only counting days and this includes weekends and our customers wont be replying on weekends typically so I don't want to consider weekends.

When I contact Atlassian support their follow up rules seem to account for business days...

Any suggestions on how I can accomplish follow ups after 3,7,10 business days??

3 answers

You can use the following condition: {{now.dayOfWeekName}}

2022-03-06_13-29-24.png

@Ahmed Zebthank you so much for your post! I think that this has solved an automation rule that I was trying to setup. Basically, I wanted to remind employees about SLA resolutions which are about to breach except if those breaches are on a weekend, Saturday or Sunday. I simply repeated your steps, but for both Sat and Sun instead.

Off-hand, do you know if it would be possible to do something like this, but with {{now.toBusinessDay()}} instead of {{now.dayOfWeekName}}}? I had been puzzling over this for a while.

Did you figure this out? What if you created a Scheduled rule that looked for issues that matched JQL that reads when "Created = Now(+3)" etc? The date query would be your trigger?Screenshot 2021-06-11 at 15-37-29 Jira automation template library Atlassian.png

 I am trying to figure out how to do something similar and this is the basis of my solution....

Hi @eSolutions Customer Support,

There is no option to trigger this through JQL. You could set up an SLA for this, as it takes your support calendar into account.

Automation then offers you the SLA Threshold Breached trigger to e.g. send an email after 3 and 7 days and close the issue after 10 days. 

Thanks @Walter Buggenhout _ACA IT_ that makes sense. I'll give it a try

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events