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 -
- The rest/api/3/jql/autocompletedata/suggestions API.
- This API accepts a search query, but it returns all the sprints across all the projects. Currently, there is no way to filter the sprint on a project level
- It also does not return the state of the sprint and ends up returning the closed and old sprints which we want to be able to exclude
- The rest/agile/1.0/board/{boardId}/sprint API which has the following issues
- We will need to first fetch all the board ids from a project and then get the sprints. This might require multiple API calls and hence slows down the overall functionality
- Additionally, this API doesn’t support searching for sprints which we would have to then implement on our end by fetching all the boards + sprints on every search query
Asks:
- Is there any other API that you are aware of for solving our requirements?
- If not, would it be possible to take one of the following actions -
- Add an API to get the list of sprints for a particular project along with the state of the sprint and functionality to be able to search the sprints
- Modify the rest/api/3/jql/autocompletedata/suggestions API to return the state of the sprint (closed, active, future) along with the displayName and key that is being returned currently
Thanks!