Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Can a JIRA query be written to retrieve issues contained in Sprints closed within a date range?

Can a JIRA query be written to retrieve issues contained in Sprints closed within a date range?

Lawrence Krebs January 14, 2021

I am trying to retrieve issues (stories, subtasks) that were contained in Sprints that were closed between 2020-01-14 (Jan 14th 2020) and 2020-11-23 (Nov 23rd 2020).  I don't see a field such as Sprint Closed Date available.

If it did exist, I could add a clause like this:

AND SprintClosedDate between 2020-01-14 and 2020-11-23

Can a JIRA query to do something like that?

1 answer

0 votes
Jack Brickey
Community Champion
January 14, 2021


you should be able to just simply use sprint not in opensprints() and resolutiondate between the dates that you want

Lawrence Krebs January 14, 2021

Follow-ups question:  What is the date format? CCYY-MM-DD?

In other words, would it look like this?

Sprint not in openSprints() AND (resolutiondate >= 2020-01-14 AND resolutiondate <= 2020-11-23)

Lawrence Krebs January 14, 2021

Actually I think that is it... Thanks for the help?

Lawrence Krebs January 14, 2021

help! (that is)

Jack Brickey
Community Champion
January 14, 2021

Sprint not in openSprints() and (resolutiondate >= 2020-01-14 AND resolutiondate <= 2020-11-23)

Suggest an answer

Log in or Sign up to answer