The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automation and Dates

Sally McGregor
April 19, 2023

Hello,  I advise that I have setup an automation that takes the project due date and moves all tasks that are due 5 days prior to the due date to a ''At Risk'' Section of the board.   The automation is working however, how can I make it to be 5 working days prior to the due date not just 5 consecutive days.    Excluded the weekend.    Thank you 

 

Screenshot 2023-04-20 151602.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
John Funk
Community Champion
April 20, 2023

Hi Sally - Welcome to the Atlassian Community!

Use a JQL condition in your Scheduled trigger instead of adding the other condition. It should look something like: 

duedate > startOfToday(-5) and statusCategory != Done

Sally McGregor
April 20, 2023

Thanks so much John, for the warm welcome.  Great to be apart of the community.  Thank you for your support.  Would this query also factor in working days only?   Thank you