Sprint History JQL
Sprint History JQL documentation
Seven JQL functions for sprint scope change, a dashboard gadget, and nothing to configure.
Guide
Getting started
- Install the app from the Atlassian Marketplace (listing coming soon). A Jira administrator is needed.
- The app reads the sprint history of every issue once. On our test sites this took about 2 minutes per 10,000 issues. Progress is shown in Jira settings → Apps → Sprint History JQL.
- When indexing is done, use the functions in any JQL query. New sprint changes are picked up within seconds, and re-checked a minute later.
JQL functions
Every function takes a sprint name or id and works with in and not in.
issue in sprintCommitted("Sprint 7"): in the sprint when it started (the initial commitment).issue in sprintAddedAfterStart("Sprint 7"): added after the sprint started, even if removed later.issue in sprintRemovedAfterStart("Sprint 7"): in the sprint while it was active, but not when it closed (or not now, for the active sprint).issue in sprintCompleted("Sprint 7"): in the sprint when it closed, with a status in the Done category.issue in sprintCarriedOver("Sprint 7"): in the sprint when it closed, not done.issue in sprintCarriedOverAtLeast(2): carried over from 2 or more sprints.issue in sprintHistory("Sprint 7"): in the sprint at any time.
Examples:
- Scope creep of the current sprint:
issue in sprintAddedAfterStart("Sprint 7") ORDER BY created - Only the initial plan:
issue in sprintCommitted("Sprint 7") - Work that keeps slipping:
project = WEB AND issue in sprintCarriedOverAtLeast(3) AND statusCategory != Done - Committed but not delivered:
issue in sprintCommitted("Sprint 7") AND issue in sprintCarriedOver("Sprint 7")
Dashboard gadget
Add Sprint scope change to a dashboard, choose a board and how many sprints to show (up to 12). Each number opens the matching issues in Jira search, where Jira’s Export can download them. Show CSV gives a one-line-per-sprint summary to copy into a spreadsheet.
FAQ
Do the numbers match the Sprint Report?
Committed, completed and carried over follow the Sprint Report’s definitions; on our 49 closed test sprints they matched exactly. One known difference: when an issue enters and leaves a sprint within the same second, the Sprint Report ignores it, while the app counts it as added and removed.
What if two sprints have the same name?
A name matches every sprint with that name, across boards. Use the sprint id to pick one: issue in sprintCompleted(123). The id is in the sprint’s URL or in the gadget’s CSV.
Does it work with team-managed projects?
Yes, with company-managed and team-managed Scrum boards. Kanban boards have no sprints.
What counts as “done”?
Statuses in Jira’s Done category, as on standard boards. If your board’s last column uses a status in another category, completed and carried over can differ from the Sprint Report.
Why does a result look wrong right after a change?
Changes are applied within seconds and checked again a minute later. Every hour the app also re-checks recently updated issues. An administrator can recompute everything with Re-index all issues.
Who sees the gadget’s numbers?
Everyone who can see the dashboard sees the counts for the chosen board. The issue lists open in Jira search with each viewer’s own permissions.
How do I remove the app’s data?
Before uninstalling, open the admin page and select Remove app data. See the privacy policy for details.
Support
Write to support@eezolab.com. We usually answer within one working day.