Hello team!
We are currently looking for an API to get a list of the sprints in a project (using the project id or project keys) along with the sprint state (closed, active, future). We also need support to search for a sprint from a text query.
Based on our findings, we found the following solutions however they do not fit our requirements -
Asks:
Thanks!
In Jira, sprints are part of Board, not Project. Sprint can contain issues from different projects.
In order to get information about all the sprints connected to a board, you need to send a GET request to:
/rest/agile/1.0/board/{boardId}/sprint
This API call has parameter state, that can help to filter Sprints by their status
Full description is here:
More info about Sprints API can be found here:
https://developer.atlassian.com/cloud/jira/software/rest/api-group-sprint/#api-group-sprint
Hello @Evgenii !
The problem with /rest/agile/1.0/board/{boardId}/sprint is with multiple API calls which we want to avoid.
Is there any way we can request JIRA team to add the sprint state to the rest/api/3/jql/autocompletedata/suggestions API ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can,t look for sprints with JQL, but you can search for issues in sprints.
JQL will look like:
project = TEST AND sprint IN openSprints()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.