Forums

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

Trying to use Business Days Condition in Jira Automation

Colleen Gotling
Contributor
August 21, 2023

In my jira automation rule, I am trying to determine is a Due Date is within the next 2 business days but I am having a really hard time trying to figure out how to do this.  I'm assuming I need to do something with smart values but keep getting stuck.  Can anyone help?

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
August 21, 2023

Yes, you would need to use smart values to figure that out and you have a couple of options. One is to do a diff in business days between now and the due date to see if it is within 2 business days like this: {{now.diff(duedate).businessDays}}

Colleen Gotling
Contributor
August 24, 2023

Thank you.  I figured it had to do with smart values but I'm not super familiar with those so I will do some research and try to figure it out.  Thank you for the example, that helps tremendously.  

Like # people like this

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