You can use the issue property “Issue Sprints” to see a list of Sprint names assigned to an issue field “Sprint” in Jira. Those will be Sprints in which the issue was in at the time of closing or is currently in.
Use the community post suggested by @ran.lavi to see the full list of Sprints the issue has been in.