I have this particular use case:
Issue VBGA-9 was resolved in a given sprint. Once we realized it was not resolved properly, we reopened the issue. The sprint is now closed and the issue moved to the backlog.
I cannot find a JQL query to list this issue as not being in any sprint:
JQL: sprint not in (closedSprints())
JQL above does not work because the issue has a Sprint on its Sprints list as you can see from screenshot bellow.
Looking at resolution does not work as well as this issue has a resolution (even though it is still open).
Looks like I need to rely on status category not done. Eventually I would like to query also closed issues without sprints for reporting.
It would be nice to have something like a "currentSprint" field which is not a list but the actual assigned sprint.
