Check for issue updates, but ignore weekend dates

Christopher Parker June 17, 2024

Hi, I'm trying to resolve an issue with our Jira admins to fix an automation which needs to exclude weekend dates.

In simple terms, I need an automation which, once an issue is set to "Review", the requestor has 48 hours to respond in any way in the ticket, i.e with a comment or changing the status to "Done".  If they don't, the ticket is set to "Amber" and "Blocked" status. This works during weekdays, but we cannot seem to work out how to exclude weekend working days. 

Any suggestions? Many thanks! 

2 answers

0 votes
Julian Governale
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.
June 26, 2024

Try the below.  

0 30 * ? * MON-FRI

I saw an example in their documentation that 1 represents Sunday if 3 represents Tuesday.  

2024-06-26_17-15-50.png

 

Christopher Parker July 3, 2024

Hi Julian, 

Thanks for the suggestion.

The issue seems to be more about excluding weekend time from when a ticket hasn't been updated, rather than just when to run the automation rule.

If I run the rule on a Monday morning and it looks back 48 hours it thinks there have been no updates over the weekend, of course, we have a life! and it applies the automation anyway. My Jira admins say there is no way to deduct weekend time from a ticket when assessing if it has been updated or not.....   

0 votes
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 17, 2024

Hi @Christopher Parker 

Welcome to the Community!

Could you provide your current rule, so we can review/refine? That way, we can ensure we work to your specific needs, rather than make assumptions :)

It'd be good to understand the current rule including trigger, conditions, and actions.

Ste

Christopher Parker June 17, 2024

Hi Ste,

Current settings:-
Screenshot 2024-06-17 at 14.11.55.png

We had someone update their issue at the weekend so it didn't register their update as I understand the entire weekend period is discounted.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events