Is there is a way to determine what the status of an issue for the sprint requested (or at minimum if it was resolved during that sprint)?
I'm using the JIRA Agile REST API to get a listing of issues for a sprint (see documentation and example here).
It does provide a listing of issues for that sprint, but for sprints that have completed it provides the issues current status (it might have been "In Progress" at the end of sprint 2, but now in sprint 4 it is "Resolved" so it will show resolved even when requesting data from sprint 2).