Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete sprints created inadvertently

Prashant Amara July 31, 2024

Dears, Please advise/guide how to safely delete sprints with defined periods that were started and almost instantly moved to "Complete" ending up creating junk sprints that are impacting reports. Unable to delete such "Completed" but junk sprints (trial sprints).

2 answers

1 accepted

3 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2024

Hi @Prashant Amara 

To remove completed sprints, navigate to the project and take the next steps

  1. Select Reports, then Sprint Report.
  2. Select the relevant sprint from the sprint drop-down.
  3. Select more () > Delete sprint.
Prashant Amara July 31, 2024

Thanks Marc. I do not see "Sprint Report" in the Reports menu.
I have the following -

1. Burnup report

2. Sprint burndown chart (here I only have 2 options - restore or edit a sprint)

3. Velocity report

4. Cumulative flow diagram

5. Cycle time report

6. Deployment frequency report

 

There is none listed simply as "Sprint report"

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2024

Hi @Prashant Amara 

Aha, your in a team managed project.

There is no option to delete sprints there, but you can use this workaround.

  1. Go to Reports > Sprint Burndown Charts
  2. Choose the sprint you want to delete from the drop-down menu
  3. Click on ... and choose "reopen sprint"
  4. Go to backlog again and delete the sprint from there
Prashant Amara July 31, 2024

Thanks @Marc - Devoteam . In searching for a solution to circumvent this limitation for "Team managed project", I found this link with some additional information. I just am clueless as to how one goes about executing this code? Is there a Jira cloud shell where one could type the command? 

https://developer.atlassian.com/cloud/jira/software/rest/api-group-sprint/#api-rest-agile-1-0-sprint-sprintid-delete 

 

A little more context:
I currently have an active sprint ongoing with team working on closing the story points. If I reopened the erroneous sprint, it may yet again "inadvertently" close the ongoing sprint and vacuum out some issues into itself. Not knowing what mess I would be walking into, I kept looking for more guidance. Hence the link about.

Like Marc - Devoteam likes this
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2024

Hi @Prashant Amara 

If your logged on to Jira. find the sprint id's you want to delete via jql.

In you browser you can make the rest api call.

https://<your instance name>.atlassaian.net/rest/agile/1.0/sprint/{sprintId}

This should result in a deleted sprint

Prashant Amara July 31, 2024

Thank you for your patient guidance dear @Marc - Devoteam .
I was not successful in deleting directly via the URL. Browser gets into auto-protect mode thinking i am an attacker. I am just using this as an excuse to dig deeper and look for some kind of cloud command line interface that can directly execute commands. 

I am going to mark this as an answer already simply becoz of the various scenarios and additional context discussed here as potential pointers for others.

 

kind regards

Like Marc - Devoteam likes this
0 votes
Dick
Community Champion
July 31, 2024

Sprints can only be closed by navigating first to the board on which they have been created. After taking out the issues and putting them in the backlog, you can choose complete sprint. 

Then, on the sprint reports page, you can find the delete sprint under the three-dot-menu

Prashant Amara July 31, 2024

Thank you @Dick . In my case, the sprint was already marked as complete with few Issues marked as Done. Clearly it was a unsyncronized event where remote team members (myself included) did something in a rush. I will look to remedy this without repeating the rush and alert management about the spurious velocities getting reported.

Dick
Community Champion
July 31, 2024

There is an option to allow just one active sprint in a project:

 

under Administration - Applications - Jira Software configuration

you find the option to turn parallel sprints on/off

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events