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: 

Filter out weekends

NM
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2024

 

I'm trying to filter out issues that has exceeded the set due date, the challenge while using the below JQL is it is also counting the weekends. can someone help me with a JQL that would count only the business days?

 

Project = X AND issuetype = Y AND priority = High AND status not in (Complete, Incomplete) AND "High Transition Date" <= "-24d"

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 17, 2024

Hi NM,

 

This is not possible out of the box in JQL. However there are some 3rd party plugins that can help you do this - e.g. JMCF.

Another option is to use a heuristic depending on when you're running this query. E.g. if you run it every week on Monday, then you know that 24 days prior would include 4 weekends, so you could change your condition to 

"High Transition Date" <= "-32d"

Things will get a bit hairy if you run this on Friday though, and also this doesn't take into account non-weekend holidays.

 

Thanks,

Hariharan