I need a query that results all of the issues closed in a specific sprint.
I started with this query:
project = LY AND component = UX AND status in (Resolved, Closed, Done) AND sprint = 1677
This would work if all of our issues only had a single sprint value, but we have some issues that have either spanned multiple sprints or have been pulled out of one sprint and added to a later one. The query above lists issues that were in the specified sprint even if they were closed in a later sprint.
I could go back and delete sprint values, but I like to have them for historical reference so we can see how many issues took longer than a single sprint. I'm also hoping to not have to enter specific date ranges.