I’m using v3 of the REST API. I’m trying to achieve the following:
I want to gather all the issues belonging to a certain sprint (likely the active one) using REST API calls. I’ve tried different approaches but I can’t seem to find something that works for this specific case.
Could you please help me?
You can use the search API to query issues using JQL: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get
You’ll just need to craft some JQL that matches issues for the sprint you’re interested in.
Hi @FranDomnguez ,
Welcome to the Atlassian Developer Community!
If you have the sprint ID, you might want to checkout the Get issues for sprint API.
I actually managed to achieve this using JQL. The query I used was like:
project=X and sprint in openSprints()
I encoded it in the URL and obtained what I needed.