Forums

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

Change Space Key

Hans Pesata
Contributor
February 9, 2022

Hi!

Confluence Server 7.4

We need to change the key of some spaces.

https://confluence.atlassian.com/confkb/how-to-copy-or-rename-a-space-in-confluence-169578.html

I tried a different approach, by changing the spacekey, lowerspacekey columns of the spaces table in the Database.

After restarting Confuence, I did a full content reindex and flushed all caches.

Things look good at first sight, some macros need to be updated, which shouldnt be a problem:

blog-post
excerpt
create-from-template

Does it make sense to continue or will there be unfixable problems ?

Thanks in advance!

Regards,
Hans

1 answer

1 accepted

2 votes
Answer accepted
Brant Schroeder
Community Champion
February 9, 2022

@Hans Pesata 

It might work but if it was a good solution I believe Atlassian would have suggested it.  There is an enhancement request here with https://jira.atlassian.com/browse/CONFSERVER-2085 to be able to rename space keys and there is a recommended work around on the issue.  I would suggest using that solution to avoid any unforeseen issues that could crop up later.

Hans Pesata
Contributor
February 10, 2022

@Brant Schroeder 

Thanx for Your comment!

https://confluence.atlassian.com/confkb/how-to-copy-or-rename-a-space-in-confluence-169578.html

Looks like Solution 2 is the way to go.

Regards, Hans

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events