The instructions on this page describe how to execute a JQL search using JQL Search Extensions.

Agile JQL functions

JQL functions are accessible from Extended Search screen or via Extended Search filters in Jira advanced search.

NextSprint

Finds issues that are planned for the next sprint. Pass a Jira board name or board id as an argument.

issue in nextSprint("ACME board")

issue in nextSprint(10)

PreviousSprint

Finds issues that were part of a previous sprint. Pass a Jira board name or board id as an argument.

issue in previousSprint("ACME board")

issue in previousSprint(10)

AddedToSprintAfterStart

Finds issues that were added to the sprint after the sprint was started. Handy to identify a scope creep in the sprint.

Pass a Jira board name or board id as a first argument.

You can optionally pass a sprint name or sprint id as a second argument. By default the active sprint is used in the search.

issue in addedToSprintAfterStart("ACME board") issues added after the current sprint was started

issue in addedToSprintAfterStart("ACME board", "ACME Sprint 5") issues added after sprint 5 was started

issue in addedToSprintAfterStart(10, 55) you can also use board and sprint ids