I have a project TestProject1 with TestBoard scrum board in it. The project has three sprints, Sprint1, Sprint2, and Sprint3.
I am trying to retrieve all the sprints in my project via REST API, if the board were deleted. Currently, I use the following REST calls to get all the sprints for the project:
http://my-jira-host/rest/agile/1.0/board?projectKeyOrId=TES
http://my-jira-host/rest/agile/1.0/board/1/sprint
However, if my board gets deleted such that the sprints are not associated with the board anymore, is there another way to retrieve all sprints for the project?