Agile JQL Functions
NextSprint
Finds issues that are planned for the next sprint. Provide a Jira board name or board ID as an argument.
...
issue in nextSprint(25)
finds issues planned for the next sprint on the board with ID 25.
PreviousSprint
Finds issues that were part of the previous sprint. Provide a Jira board name or board ID as an argument.
...
issue in previousSprint(30)
finds issues from the previous sprint on the board with ID 30.
AddedToSprintAfterStart
Identifies issues that were added to a sprint after it began, useful for detecting scope creep.
...