# openSprints() in JQL: syntax and examples

URL: https://goingstellar.ro/reference/jql/opensprints/

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 2026-11-29.

```
sprint in openSprints() AND status != Done ORDER BY priority DESC
```

What is left in the current sprint, most urgent first. A daily check before stand-up. Run on Jira Cloud on 2026-11-29.

```
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 2026-11-29.

```
sprint not in openSprints() AND statusCategory != Done AND project = WEB
```

Unfinished website work that is not in a running sprint, a list for planning. Run on Jira Cloud on 2026-11-29.

## 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'." Write `sprint 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

- [Current sprint](https://goingstellar.ro/tools/jql-examples/#current-sprint)
- [Still open in the current sprint](https://goingstellar.ro/tools/jql-examples/#current-sprint-not-done)
- [Carried over from a closed sprint](https://goingstellar.ro/tools/jql-examples/#carried-over)

## 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.

## Related

- [futureSprints()](https://goingstellar.ro/reference/jql/futuresprints/)
- [closedSprints()](https://goingstellar.ro/reference/jql/closedsprints/)
- [sprint](https://goingstellar.ro/reference/jql/sprint-field/)
- [currentUser()](https://goingstellar.ro/reference/jql/currentuser/)
- [IN](https://goingstellar.ro/reference/jql/in-operator/)
- [NOT IN](https://goingstellar.ro/reference/jql/not-in-operator/)

## Sources

- [JQL functions (Atlassian Support, Jira Cloud)](https://support.atlassian.com/jira-software-cloud/docs/jql-functions/)
- [JQL fields (Atlassian Support, Jira Cloud)](https://support.atlassian.com/jira-software-cloud/docs/jql-fields/)

