English

JQL issues added to sprint after start, or removed: how to find them

On this page

To find issues added to a sprint after it started with JQL in Jira Cloud, you need more than native JQL offers, because native JQL cannot see when an issue joined a sprint. With Flexible JQL, issue in addedAfterSprintStart("ABC board") lists the scope added to the active sprint after it began, and it works in filters, boards, dashboards and automation.

This guide explains why the native query falls short, gives queries you can paste for four common sprint questions, and lists the limits to know.

Why can’t native JQL find issues added after the sprint started?

JQL stores the sprint an issue is in now, not the history of how it got there. A query such as sprint = 41 returns the issues in sprint 41 today. It cannot separate the issues that were planned from the ones that arrived on day three, and sprint in openSprints() has the same blind spot.

Atlassian knows this. The request JRACLOUD-75868, “JQL search for issues added and removed from a sprint”, was created in January 2018 and was still unresolved with the status Gathering Interest when we read it on 2026-11-29. The page describes a workaround: an automation rule writes sprint changes into a paragraph custom field that you can then search. It records changes only from the moment the rule was created, so it cannot answer the question for sprints that already started.

The Sprint report is the other native route. Atlassian’s documentation says work items added after the sprint starts are indicated with an asterisk. That helps in a retrospective, but it is a report you read, not a query you can save as a filter, show on a board or use in an automation rule.

Example What the sprint end does not show

20 planned issues

  • On the board from the start (Day 1 – Day 10)

2 urgent bugs

  • addedAfterSprintStart (Day 3 – Day 10)

1 planned story

  • planned (Day 1 – Day 3)
  • removedAfterSprintStart (Day 6 – Day 10)

Last day

  • 17 done, 3 not (Day 10 – Day 10)
An example sprint: two bugs join on day three and one story leaves on day six. Each event has its own query.

How do you list issues added after the sprint started?

Use the addedAfterSprintStart function with a board and, optionally, a sprint:

issue in addedAfterSprintStart("ABC board")
issue in addedAfterSprintStart("ABC board", "Sprint 5")
issue in addedAfterSprintStart("ABC board") AND type = Bug

The first query uses the default, the active sprint. The second names a sprint. The third narrows the scope creep to bugs. The function counts issues created straight into the sprint, and it counts issues that were removed again later. Combine it with ordinary JQL as you would any other function.

Replace ABC board with your board’s name, or use the board and sprint ids that the workbench inserts for you.

How do you find issues removed from a sprint?

Use removedAfterSprintStart, with a board and, if you want a finished or named sprint, the sprint:

issue in removedAfterSprintStart("ABC board")
issue in removedAfterSprintStart("ABC board", "Sprint 5") AND type = Story

The first query uses the active sprint. Moves made by completing the sprint are not counted, so the list holds only what someone took out while it was running.

Jira search combining removedFromSprint and addedAfterSprintStart to list sprint scope changes
Screenshot Scope changes for one sprint in a single query. Demo data. The app interface is in English.

Is openSprints() enough on its own?

No, but it is the native starting point. Atlassian describes openSprints() as searching for work items assigned to a sprint that was started and not yet completed, and closedSprints() as the same for a completed sprint. Both work with the IN and NOT IN operators on the Sprint field, and neither supports WAS or CHANGED, so they cannot look back in time. A work item can belong to both a completed and an incomplete sprint, which is what makes the first two queries below useful.

Question Native JQL
What is in a running sprint now? sprint in openSprints()
What is in a completed sprint? sprint in closedSprints()
What was carried over into a running sprint, roughly? sprint in openSprints() AND sprint in closedSprints()

The third row is an approximation built from the sentence in Atlassian’s reference: it finds issues that belong to a running sprint and to a finished one. It also matches an issue that was in an older sprint and was re-planned later, and it says nothing about when an issue joined or left. For the exact lists, use the functions in this guide. More built-in functions are in the JQL functions list.

Scope creep is rarely the only question. Four sprint functions answer the neighbouring ones, and each takes the same board and sprint arguments:

Question Query
What was added after the sprint started? issue in addedAfterSprintStart("ABC board")
What was taken out after it started? issue in removedAfterSprintStart("ABC board")
What did we finish? issue in completedInSprint("ABC board", "Sprint 5")
What was left over and moved on? issue in carriedOver("ABC board", "Sprint 5")

removedAfterSprintStart does not count the moves made by completing the sprint, so it shows only issues someone deliberately removed. carriedOver needs a sprint, because it describes what happened when that sprint was completed. Use completedInSprint for a running sprint too: it then means done right now.

How do you turn the queries into something the team uses?

A query nobody opens does not help. Three habits make it part of the routine:

  1. Save it as a filter. Create one filter per question, named for the board, such as “Scope creep: ABC board”.
  2. Put it on a dashboard. A filter results gadget with the scope creep filter turns the number into something visible during the sprint, not only in the retrospective.
  3. Use it in automation. An automation rule can run the filter at the end of the sprint and post the list to the team.

If you want a count rather than a list, combine the function with the sprint dates. The sprint start, end and complete fields are available as read-only fields on every issue, so you can sort and filter by them.

What does a worked example look like?

This is an example, not a customer story. Sprint 5 has 20 planned issues. On day three the product owner adds two urgent bugs, and on day six a developer moves one planned story back to the backlog. On the last day, 17 issues are done, and three are not.

The retrospective needs four lists. issue in addedAfterSprintStart("ABC board", "Sprint 5") returns the two bugs. issue in removedAfterSprintStart("ABC board", "Sprint 5") returns the story that left. issue in completedInSprint("ABC board", "Sprint 5") returns the 17 done issues, and issue in carriedOver("ABC board", "Sprint 5") returns the three that moved on. The numbers are the same as the sprint report would show, but each list can be saved, shared and reopened next month.

What limits should you know about?

  • Functions that list issues return at most 1,000 issues and stop with an error above that, with a suggestion to narrow the query, for example by adding AND project = ABC.
  • Results refresh when Jira sends events, which can take up to about three minutes, so a change made seconds ago may not show yet.
  • If a function seems to return nothing in Jira’s search bar, run Check query in the workbench. Jira shows a failed function as an empty list, and the workbench shows the reason.
  • User arguments are Atlassian account ids, which the workbench picker inserts for you.
  • It is for Jira Cloud only, not Data Center or Server.

Doing this with advanced JQL functions for Jira Cloud

Flexible JQL for Jira adds 55 advanced JQL functions and 64 searchable fields to Jira Cloud, including the sprint functions in this guide. It is built on Atlassian Forge and Runs on Atlassian, with no remote servers and no data egress. The JQL functions guide lists every sprint function with its examples, and the getting started guide shows the workbench. The app is coming soon to the Atlassian Marketplace. For a comparison of apps that add JQL functions, read Advanced JQL apps for Jira Cloud: five compared.

A printable one-page reference is the Jira JQL functions cheat sheet.

Sources

Frequently asked questions

Can native JQL find issues added to a sprint after it started?

No. Native JQL can list the issues that are in a sprint now, but it cannot tell when an issue joined. Atlassian's request JRACLOUD-75868 for a JQL search for issues added to and removed from a sprint is still open, so Jira Cloud needs a report, a workaround or an app for this.

How do I list scope creep in the current sprint?

With Flexible JQL, use issue in addedAfterSprintStart("ABC board"). The default sprint is the active one, and the function returns issues added after the sprint started, including issues created straight into it, even if they were removed later.

How do I find issues that were removed from a sprint after it started?

Use issue in removedAfterSprintStart("ABC board"). It does not count the moves made by completing the sprint, so the list shows only issues someone took out while the sprint was running.

How do I list the issues carried over from a finished sprint?

Use issue in carriedOver("ABC board", "Sprint 5"). It returns issues that were not done when the sprint was completed and moved on into another sprint. A sprint name or id is required for this function.

Is the number of issues limited?

Functions that list issues return at most 1,000 and stop with an error above that, with a suggestion to narrow the query. Jira also delivers change events with a delay of up to about three minutes, so a very recent change can take a few minutes to show.