Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JQL for tickets without comment in 5 business days

Hello, I tried to find an answer to my question but couldn't quite find an existing thread that helped. I'm trying to come up with a JQL query that shows me all tickets (with the exception of one project type, OPT) that haven't been commented on in X number of business days (not just total days). What I currently have is below, and that's working fine for total days. Just can't quite figure out how to make it business (mon-fri) days. Any help would be appreciated! 

project not in ("OPT") AND "Last Comment Date" <= -5d AND status not in (Closed) AND priority in (Normal)

1 answer

@Adam J ,


There is no way for you to specify exactly the days you want to bring the query in your JQL, but one thing that can help you is to use "StartOfWeek" or StartOfDay in your JQL queries, see an example:

If you want the current week to be Mon-Sun, use "startOfWeek(1d), endOfWeek(1d)".

If you want the previous week to be Mon-Sun, use "(startOfWeek(-6d), endOfWeek(-6d)"


Using StarfOfDay, it would basically be StartOfDay (-5d), but it would bring similar result to what you currently use ">= -5d".


You could try using the weekly survey and see what results it brings you.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events