JQL function
openSprints() in JQL: syntax and examples
openSprints() returns the sprints that have started and are not yet completed. Use it with the Sprint field to list the current sprint scope without typing a sprint name. It also works with NOT IN to find work that sits outside any running sprint.
Syntax
o
p
e
n
S
p
r
i
n
t
s
(
)
Works with
- Fields: Sprint
- Operators: IN, NOT IN
- Not with: =, !=, ~, !~, >, >=, <, <=, IS, IS NOT, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED
Examples
sprint in openSprints()Everything planned in a running sprint.
Run on Jira Cloud on .
sprint in openSprints() AND status != Done ORDER BY priority DESCWhat is left in the current sprint, most urgent first. A daily check before stand-up.
Run on Jira Cloud on .
sprint in openSprints() AND assignee = currentUser()Your own share of the running sprint. Combine it with currentUser() for a personal board filter.
Run on Jira Cloud on .
sprint not in openSprints() AND statusCategory != Done AND project = WEBUnfinished website work that is not in a running sprint, a list for planning.
Run on Jira Cloud on .
Pitfalls
- A work item can sit in a completed sprint and an incomplete one at the same time, so it can match
openSprints()and also show a closed sprint in its history. sprint = openSprints()fails: "Operator '=' does not support the list value 'openSprints()' for field 'sprint'." Writesprint in openSprints().- A future sprint is not open. While all sprints are only planned,
openSprints()matches nothing, and the query still parses and runs, so an empty list is not an error (checked on Jira Cloud, November 2026).
Ready-made queries
Questions and answers
How do I list issues in the active sprint with JQL?
Use sprint in openSprints(). It matches sprints that have started and are not completed.