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
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events