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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,005
Community Members
 
Community Events
184
Community Groups

JQL - How to filter stories spilled over multiple sprints?

Hello Community,

 

I tried this query to list the stories moved over two sprints 510 and 511

project = "Project Name" AND issuetype = Story AND Sprint CHANGED during( "510" TO "511")

But Jira shows following error:-

  • History searches do not support the 'sprint' field.
  • The value '510' does not exist for the field 'sprint'.
  • The value '511' does not exist for the field 'sprint'.

Have any of you used the filter to list stories spilled over iterations? If yes can you please suggest my how to do the right query?

Thank You

3 answers

3 votes
Yuliia_Borivets__SaaSJet_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 05, 2023

Hi @Sanjog Sigdel 

Do you want to see only issues that changed from one sprint to another (from 510 to 511) or the ones that went through two sprints (510+511)?

I can suggest Issue History for Jira app as an alternative solution developed by my team. Here you can search by JQL and get the whole history of changes for these two sprints. 

1. Write JQL as follows:

project = "Project Name" AND issuetype = Story AND Sprint in (510,511)

2. Add the Sprint column to the grid.

You will get the whole picture: what stories were in one of the sprints, what were transferred from one to another.

task changes through sprints.png

If you want only those stories moved from one sprint to another, you can export the report with data to an XLS file or CSV and filter there.

Here is a similar use case for projects: How many tickets were moved from one Jira project to another?

That's the only workaround that came to my mind.

There is a 30-day free trial, so you check if it can help you.

Hi @Yuliia_Borivets__SaaSJet_ 

I'll give it a try. But it's not always two specific sprints a ticket gets spilled. Sometimes tickets slippage happens for more than two sprints. Also it's Sprint I'd 511 and 512 for now. But next month it will be 513 and 514.

Any suggestions on making the filter dynamic with reference to open sprint and future sprint?

Yuliia_Borivets__SaaSJet_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 05, 2023

@Sanjog Sigdel If tickets are moved to more than two sprints, I suggest monitoring sprint history (in the sprint column). It shows all sprints an issue was in one raw. For example, select one sprint 512 you are interested in, and you will get all tickets and information about sprints those tickets are now or went through.

If you try an app and need more help with your case, you are welcome to schedule a demo and our experts will help with configuration.

Like Sanjog Sigdel likes this
1 vote
Walter Buggenhout _ACA IT_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 05, 2023

Hi @Sanjog Sigdel,

As the error message says, Jira does indeed not support history searches on the sprint field. That means you cannot perform searches like WAS or CHANGED TO etc. on sprints unfortunately. There is a feature request for it that you can track here: JRACLOUD-39256 (it's a very old one, so I would not expect any progress there soon)

You can see issues that were removed from sprints in the sprint report, if that may help.

Hope this helps! 

Looks like the request on history searches wont be supported by Jira. Keeping the question open for some time. Let's see if there are any workaround. Otherwise I'll close the question accepting this answer.

@Walter Buggenhout _ACA IT_  Thank You for letting me know about it.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 05, 2023

You don't need to worry about the "changed" part of this.

When an issue rolls over into the next sprint, it does not lose the information that it was in the sprint (that your team need to talk about where they failed to complete what they said they would)

You can find these with the query

 project = "Project Name" AND issuetype = Story AND Sprint = "510" AND Sprint = "511"

(I suggest typing the two sprint = clauses because autocomplete will help you find the sprint names)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events