Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fyi, does not work anymore with JIRA Agile 6.7.12.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As there is no simple way to do it in recent versions of JIRA (I am using JIRA cloud...), can we reopen this ticket ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In newer versions of JIRA (I'm on 7.6.3), you can do this a little more directly:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is not working for the latest version
So, any suggestion regarding this problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to reopen the Sprint and update the name and close it back !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, doing this can mix up some time tracking & life cycle of some tickets. I would not recommend doing so.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not being able to go back and modify something as simple as the NAME of a Sprint (which is a Database indexed text field anyway) is ridiculous...we're not modifying the id of the table...it's a text field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Reopen the sprint in Sprint Report then you can rename it on the Backlog as normal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that solved the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this solution is avaible in some versions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This may not be a good solution. Someone above mentioned that doing this can mix up some time tracking & life cycle of some tickets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could we do this, reopen sprint-change name of sprint then again close it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To rename a Completed Sprint :
Go to the 'Report' Tab and select the 'Sprint Report' in the dropdown.
Select your Sprint from the dropdown. Click 'Edit Sprint' and rename it.
Thanks,
Majo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @majofrancis
I actually just tried this with no luck. I only have option to select reopen or delete sprint. Can you point me in the right direction?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Chau Vu
I am not quite sure why the "Edit Sprint" option is missing for you. Can you please verify your project permissions to manage Sprints ?
FYI I am logged in as JIRA-admin and my instance is JIRA 8.5 server version.
Please PFB the screen snip from my instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @majofrancis
I am facing the same issue as @Chau Vu . I checked the permissions as well I have admin rights and am still unable to see the edit sprint option on the dropdown. Any suggestions here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Me too. Jira Cloud. No such thing as "Edit Sprint" for completed sprint. Admin rights and all. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here. Jira Cloud. No such thing as "Edit Sprint" for completed sprint. Admin rights and all. Is there any update on this question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are likely to also have to reindex your Jira instance after touching the database manually like that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
does this work on all versions?
I have v6.0.8.
Thanks, Lynn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.