Forums

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

How to delete a sprint using script console

Mihai Mihai
Contributor
June 25, 2019

Hello, How would we delete a sprint using script console, from Scriptrunner? The case is: the board was deleted and is no longer in use, but 2 sprints are still left and I cannot find any other way to delete them. Thank you!

1 answer

1 accepted

2 votes
Answer accepted
Kerem Caglar [Solveka]
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.
June 25, 2019

Hi Mihai,

You could try to delete them via rest API

https://docs.atlassian.com/jira-software/REST/7.0.4/#agile/1.0/sprint-deleteSprint

 

Please, keep in mind that you cannot delete completed or active sprints.

 

Also have a look at this issue:

https://jira.atlassian.com/browse/JSWSERVER-11263

Mihai Mihai
Contributor
June 26, 2019

Thank you, rest api worked great.

Suggest an answer

Log in or Sign up to answer