Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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) Edited

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.

 

--------Edit-------

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
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

874 views 14 20
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