I've been trying to get issue information via the rest API but sprint isn't returned as a field. I tried just searching for a sprint to get all the issues
/rest/api/2/search?jql=sprint={sprintid}
I tried only returning certain fields including Sprint:
/rest/api/2/search?jql=sprint={sprintid}&fields=description,issuetype,status,sprint
When I use JQL in the Jira Issue search I can search for sprint {sprintid} then customize the Column list to show Sprint.
Same thing if I search for a specific issue. It doesn't return the sprint the issue is in.
Is this expected?