Forums

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

Excluding issues in a FOR EACH branch that were opened in the last hour of previous business day.

Tyler Giles
Contributor
November 5, 2024

Good afternoon! So I am currently working on an automation rule to update all open issues in Jira. However, I want this rule to omit all issues that were opened between 4pm-5pm during the previous business day.

I can kind of wrap my head around the logic of this, but Friday-Monday is the tricky part. I need a way to get the following pseudocode logic in the rule:

 

If today = Monday, then omit all issues opened 3 days ago between 4-5pm.

Otherwise: Omit all issues opened 1 day ago between 4-5pm.

1 answer

0 votes
Marc - Devoteam
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.
November 5, 2024

HI @Tyler Giles 

You can look at using date time smart values in automation, especially the BusinessDay options

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/ 

Suggest an answer

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

Atlassian Community Events