It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I rename a completed sprint?

Lee Cash May 28, 2013

An old, dummy sprint I created actually uses a naming convention that I need to use going forward. So, I now have two sprints with the exact same name; one real and one for test purposes. This is somewhat confusing for my engineers.

I know how to rename an active sprint, but is there a way to rename a sprint that was created and is now completed?

Many thanks in advance,

Lee

7 answers

1 accepted

5 votes
Answer accepted
Ricardo Aielo Mar 03, 2014

Just had the same problem and I don't have access to query the database directly.

So I've found an alternative that seems even better, since you don't have to restart/reindex Jira. There's no back-end validation/restriction for renaming a completed sprint, so I just called the service that makes the change:

http[s]://{jira base URL}/jira/rest/greenhopper/1.0/sprint/{sprint id}

{sprint id} value can be retrieved on the report section, by inspecting (browser) the sprint name, and searching by the "data-sprint-id" attribute value.

The request must use the PUT method, and must contain some specific headers. I recommend you rename an open sprint and inspect the request done (using Network from Chrome/FF Firebug, for example), so you can replicate those headers.

A sample raw body (JSON format) for the request:

{"name":"My new name for sprint","startDate":"03/Feb/14 3:31 PM","endDate":"03/Feb/14 4:58 PM"}

Hope it helps.

Edit: Greenhopper 6.1

It worked:

USERNAME="myuser"
PASSWORD="mypass"
URL="https://myjira.atlassian.net"
SPRINTID="1"
NEW_SPRINT_NAME="my new sprint name"
NEW_START_DATE="06/Apr/14 8:00 PM"
NEW_END_DATE="14/Apr/14 1:18 PM"

curl -u$USERNAME:$PASSWORD '$URL/rest/greenhopper/1.0/sprint/$SPRINTID' -X PUT -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Language: pl,en-us;q=0.7,en;q=0.3' -H 'Connection: keep-alive' -H 'Content-Type: application/json; charset=UTF-8' --data '{"name":"$NEW_SPRINT_NAME","startDate":"$NEW_START_DATE","endDate":"$NEW_END_DATE"}'

Remember that user must be in Administrator role for this project.

Tested with Jira Agile 6.3.12

Andreas Ebert Jul 04, 2016

Fyi, does not work anymore with JIRA Agile 6.7.12.

Tom Rutherford Aug 22, 2016

Also not working on JIRA Agile v6.4.5 - API returns error message:

{"errorMessages":["Cannot update closed sprint"],"errors":{}}

Tracked by https://jira.atlassian.com/browse/JSW-12845

6 votes
krystalcode Jun 06, 2013

Is this possible somehow in JIRA OnDemand?

4 votes
Ian Lai Feb 08, 2018

In newer versions of JIRA (I'm on 7.6.3), you can do this a little more directly:

  1. Go to the Sprint Report
  2. Select the sprint you want to rename
  3. Click the ellipses button (...)
  4. Select Edit Sprint
  5. Change the name to whatever you'd like, and click Save
Ami Weinberg Mar 19, 2018

Thank you!!

is not working for the latest version

 

So, any suggestion regarding this problem

 Screen Shot 2018-06-12 at 8.58.56 AM.png

Like Craig Eidson likes this
Julie Calboutin Jul 02, 2018

I just found the same thing, it is no longer available in Sprint Report. Is this intentional? Is there another way to rename a closed Sprint?

James Edwin Jul 04, 2018

I was able to reopen the Sprint and update the name and close it back !

Raphael Charolois Feb 06, 2019

Unfortunately, doing this can mix up some time tracking & life cycle of some tickets. I would not recommend doing so.  

Salem Korayem Feb 13, 2019

FML Atlassian!

So, let me get this straight.... it was there and then they removed it!!! WTF!

Like # people like this
Jeff Angus Mar 01, 2019

Atlassian, any update on this by chance?  We REALLY need to rename our sprints but do not want to re-open the sprint and mess up dates.

Like Natalie White likes this
3 votes
Raphael Charolois Feb 06, 2019

As there is no simple way to do it in recent versions of JIRA (I am using JIRA cloud...), can we reopen this ticket ?

2 votes
DAO VINH LOC Feb 05, 2017

Reopen the sprint in Sprint Report then you can rename it on the Backlog as normal.

Delfin Devassy Apr 20, 2017

Yes, that solved the problem.

Germán Rojas Tapia Nov 14, 2017

this solution is avaible in some versions 

1 vote
Yilin Mo Atlassian Team May 28, 2013

It is possible to do it via the database query:

1. Locate the sprint that you want to rename:

select * from "AO_60DB71_SPRINT" where "CLOSED" = 't';
2.  then update the related spirnt name in the name column value.
3.  You need to restart JIRA to make the modification available.
Lee Cash May 29, 2013

Many thanks for this. It's unfortunate that this can only be changed at the database level, but I'll speak to my JIRA adminstrator and see if he can perform this change.

TSO Logic Admin Dec 13, 2013

How about for those of us who have Sprints from the very beginning of the Rapidboards? Isn't there going to be a problem with how the refs used to be by name (now by ID) or something?

I am hesitant to try such manual overrides directly in DB without understanding the full implications.

Thank you,

Johnny

Ramesh Mashetty Jul 31, 2018

could we do this, reopen sprint-change name of sprint then again close it

0 votes
Phil Beckman Jun 06, 2013

You are likely to also have to reindex your Jira instance after touching the database manually like that.

Lynn Gariepy Dec 02, 2013

does this work on all versions?

I have v6.0.8.

Thanks, Lynn

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

1,378 views 1 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you