Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to make a query between sprint dates (tue to mon)


Hi, Im trying to make a query that will show me all the tickets that passed a certain status in the current sprint, our sprints are from Tuesdays to Mondays.


this is the date range part I used:

"status" >= startOfWeek(2d) AND "status" <= endOfWeek(2d)


basically startofweek+2 is Tuesday, endofweek+2 is Monday.

This works from Tuesday till Saturday, but on Sunday+Monday im not getting any data.

My guess is that its a new week, but its waiting for +2 to start showing me data.


My end goal is to also be able to see the data of the current sprint from the previous week on Sundays and Mondays (of current week) as well as any other day in the sprint, then reset on Tuesdays.



I added another piece with OR to cover the Sunday/Monday portion, testing it now, but im afraid that in this case on Tuesdays it wont reset, waiting for test result tomorrow :)

("status" >= startOfWeek(-5d) AND "status" <= startOfWeek(1d) OR "status" >= startOfWeek(2d) AND "status" <= endOfWeek(2d))




(until now I had to update manually the sprint dates, but I was hoping for an automatic solution)


Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

317 views 1 5
Read article

Community Events

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

Events near you