I'm struggling with a JQL query to filter results in several time windows. I need to filter some issues outside business hours, so:
These are the query that I have deployed, but I'm missing something in the syntax because the result I have are inconsistent:
Can someone please tell me whaat I'm doing wrong?
Those functions you are using from advanced JQL are relative to the current day. They do not float as I believe you are expecting for any day. I do not believe that is possible with out-of-the-box Jira Cloud's JQL. There are marketplace scripting add-ons which could help.
For your weekly query, startOfWeek() is again relative to the current day, and weeks start on Sunday with 1. So your >=+6 includes Friday and your +8 is in the future. :^) You could check last week by using >= startOfWeek(-1d) to < startOfWeek(+1d)
Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events