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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events