As a Jira Align Admin i want to delete sprints that are deleted in Jira.
Navigation steps:
Issue: These kind of iterations need to be deleted manually by the admin.
Question:
Is there an API to mass delete these kind of iterations
(or)
A flag where i can fetch all iterations that are deleted in Jira ?
Hi @Bhanu Prakash - thanks for your question. Please find my response to your question
Unfortunately, there is no public API to mass delete iterations (sprints) in Jira Align as of now. The Iterations
API allows you to create, read and update iterations, but delete is not supported.
Deleting iterations has implications on reporting and historical data in Align, so deletion is intentionally restricted to manual admin actions via the UI.
However, could think of a possible workaround that I have outlined below, that could be automated using some scripted logic, but does require some investment of time. You can identify candidates with this workaround:
- Use the "external ID" field of the iteration (which holds the Jira Sprint ID).
- Cross-reference the list of Jira sprints from Jira (via Jira API) with the list of iterations from Jira Align:
Jira API: GET /rest/agile/1.0/board/{boardId}/sprint
Jira Align API: GET /rest/align/api/2/Iterations
Any iteration in Align that:
has a Jira external ID
but no longer exists in Jira (deleted sprint)
→ is likely stale and should be deleted manually.
Run the above logic/report once a quarter so that these stale iterations can be deleted regularly from Align.
Alternatively, if you raise a request with Align support team, am sure they might be able to provide some additional insights if a regular report etc. already exists in Align that could be leveraged as I know, Align does produce a report for deleted work items/work objects from Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.