How to merge confluence accounts?

Gonchik Tsymzhitov June 10, 2014

How to merge confluence accounts?

Where need transfer security space, groups, content owners.

1 answer

0 votes
Giuliano C_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 11, 2014

According to your request, it seems that you're looking to merge the content of two accounts inside one user, so all the content will have the proper permissions and the same content creation data of both users. However, since the user content and all the content created by them are stored inside the database, we would need to update the *creator* data and the permissions according to the user mapping in Confluence. Basically, by having a dump file of an DB (e.g. Mysql), edit it with a find and replace with the new user ID.

Other example, to associate all content/subscriptions/notifications for the internal directory user to the external directory user we need to track which hash is being used and modify it according to the output. Basically, what we would need to follow by standard procedures:

1) First, find the user key (hash) inside the user_mapping table:

select * from user_mapping;

2) Then, check for which directory ID comes the user

select * from cwd_user;

3) Then, identify from which directory the user is inside, since we have only found the ID in the query above

select * from cwd_directory;

After getting all the content, we would need to update the username user_key to use the one from the user that you're looking for. In our case, we would need to pick one user to have the data from both that you're looking to merge

Hope it helps ya!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events