Is there a hack to change the space key? I know that it is fixed but what if we want to change it after creation without having to copy/delete spaces?
There is no way I know of to change a space key. The name can be changed, but the key stays fixed troughout the life of the space. You are correct that the only way to "change" the space key would be to copy the space to a new space with the desired key.
Here are some options:
How to copy or rename a space in Confluence
You can use this to change the space key.
Copy the space with this plugin. While copying the space you'll be prompted to type in the name of the space and space key. After changing those, export the space you copied with the new space key and import it to the confluence instance you want.
Download the Copy Space for Confluence plugin and install it
https://marketplace.atlassian.com/apps/212/copy-space-for-confluence?hosting=server&tab=overview
For manual installation;
Administration > Global configuration > Manage add-ons > Upload add-on > browse (select the jar file you downloaded) > Upload
To use plugin;
Spaces > Space directory > click on the space you want > Space tools > Content Tools > Apps > type in new space name and key (you can check the boxes to copy the options specified) > Save
Your Space Directory should have your copied space with the new name and space key. Now you can delete the space with the old name.
You're welcome.
You can not change the space key once it is set while creating a space.
I used a workaround: created a new empty space with the desired key, then moved all pages from the old space to the new one. If there are many pages just below the main page, it may be helpfull to make them a child of just one (maybe empty) page within the old space first (which is possible by drag and drop) and then move this page to the new space.
How did you then manage links? In your new space, do all links not go to the old space still?
If you work with confluence links they should adapt automatically. Not exolicitly testet now, but I do not remember any problems and I often use links.
This will also affect anyone who has pages bookmarked or linked outside of confluence to anything. The new URL with the updated space key has to be used. The space key is in every page URL.
This is no longer supported.
Unclear whether for Cloud or OnPrem, though with Confluence 7.x and later no longer being supported, maybe this was an OnPrem tool to begin with.
Space Key changes are now possible: Introducing edit space key! (all editions) - Atlassian Community :-)
(Just putting this in for users like me that looking for this)
KR, Michel
I just want to mention here, that space key changes are now possible:
Introducing edit space key! (all editions) - Atlassian Community :-)
That is Cloud only.
It looks like you're new here. Sign in or register to get started.