The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL query that only returns tickets not carried over from previous sprint.

Chris808
March 21, 2022

I just want to know what new items have been taken from the backlog in each sprint and exclude anything carried over from the previous sprint. Have tried reports....there must be a JQL query!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mark Segall
Community Champion
March 21, 2022

Hi @Chris808 and welcome to the community!

Try this:

project = myProject
AND sprint IN openSprints()
AND sprint NOT IN closedSprints()
Chris808
March 21, 2022

Hi Mark,

Thank you! My ultimate goal is to figure out what issues were new in a jira and what were carried over. Even in the closed sprints.

So I have tried, jira in sprint #2 and not in #3 and #4. But there must be a more simple way of identifying the jiras that hadn't been worked on before the sprint in question. 

Cheers

Mark Segall
Community Champion
March 21, 2022

Unfortunately, there is no easy way to query historically.  For this endeavor, it may be best to simply drive the report out of Excel.  I would just execute a filter of all issues for a given time period, include the sprint column, and download to Excel and manipulate as needed.  Probably easiest for a first time effort, then you could have a report that you review at the start of each sprint based upon the query I provided going forward.