Can I change the space key when exporting a space so there is no conflict when importing to an OnDemand site?

We are in the process of moving a few spaces from two different installed Confluence instances into the same OnDemand Confluence instance.

Two of the spaces that we are trying to move to the OnDemand site have the same Space Key, one from each of the installed Confluence sites.

We need, and want, them to have different keys in the new location (OnDemand).

Is there documentation available for changing a space key (even if it's manual)?

Is there a better way than modifying the database pre-export or modifying the XML post-export?

1 answer

1 accepted

I found reference to a custom User Macro written by Ed Bacher and updated by Zsolt Kocsmarszky on this page:

It worked for me on a test space.

Is this condoned by Atlassian or at least can Atlassian say it won't break anything? Short of an official tool, this may be my best bet.

Other answers still welcome, especially if your solution is more "official."

EDIT 2014-04-10:

I'm going to accept my response as an answer since there doesn't seem to be a real answer and this workaround worked for me.



Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

384 views 17 9
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you