Forums

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

How to transform Server Space export to match Cloud users

Areg Vrtanesyan _Work_
Contributor
October 5, 2023

Hi Confluence Experts

 

I am trying to import Confluence DC Space export to my Cloud instance and in order to convert creator/author of the space I am trying to perform the following modification in entities.xml file:

 

I found that in server version users are defined in this format

<object class="ConfluenceUserImpl" package="com.atlassian.confluence.user">
<id name="key"><![CDATA[ff80808172207c7b01722e73f4990016]]></id>
<property name="name"><![CDATA[username]]></property>
<property name="lowerName"><![CDATA[username]]></property>
<property name="email"><![CDATA[server.mail@someserver.com]]></property>
</object>

 

From one of my Cloud exports I found my user details (they are same across different spaces)

<object class="ConfluenceUserImpl" package="com.atlassian.confluence.user">
<id name="key"><![CDATA[8a7f808a7b152829017b1b16655200b0]]></id>
<property name="name"><![CDATA[atlassian.mail@someserver.com]]></property>
<property name="lowerName"><![CDATA[atlassian.mail@someserver.com]]></property>
<property name="atlassianAccountId"><![CDATA[some_random_number]]></property>
</object>

 

I also replaced all occurrences of ff80808172207c7b01722e73f4990016 in the file to 8a7f808a7b152829017b1b16655200b0 but I am still getting the creator defined as unlicensed user and I don't have a permissions to edit pages.

 

Do I miss anything else there?

1 answer

1 accepted

3 votes
Answer accepted
Benjamin
Community Champion
October 5, 2023

HI @Areg Vrtanesyan _Work_ ,

 

May want to contact Atlassian support on this if you want to take this approach.

 

It's easier to use migration assistant. See below post:

 

https://community.atlassian.com/t5/Confluence-questions/Move-Single-Confluence-Space-Server-to-Cloud/qaq-p/922334

Areg Vrtanesyan _Work_
Contributor
October 5, 2023

I didn't want to spin up temporary instance but looks like that it would be easiest approach.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events