Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to replace user names in after confluence space migration

i migrate confluence A space X to Confluence B space  X  here that space takes confluence A users  but i want replace user in confluence B users  how can  do?   

here Confluence A is abc AD and Confluence B is def AD   both have same users but  usernames are abc AD   ex: abc.def    and def AD  def.abc   

this is the problem 

2 answers

Hi @eeshwar,

Are you using xml to do the migration? Then you can edit the xml and replace the old user names with the new ones.

If you do not want to edit the xml, you can change user-names in the old confluence(or if you still need that with the old user names, set up a third instance, Do there an import with the old user names, change them on confluence to the new ones, export again and import in new confluence .

Hi @Bastian Stehmann _neusta portal services_,

All are in active directory users ,I installed third instance also but how can I change user names

@Bastian Stehmann _neusta portal services_ - I have the same issue, where old users of the Confluence A space X are still set as author of documents etc. of the Confluence B space X. The users from Confluence A are listed as (unlicensed) in Confluence B.

I've migrated via the XML.

What do I need to change in the XML? I assume it's in the "entities"?

Hi @Kasper Hedegaard ,

Yes, it is in the entities.xml. you'll have to search and replace the old username with the new username and afterwards you can try to import it, but modifying this file can cause errors on import. 

You should be able to change them in the user management section?

Or if you have a lot of users using the REST API (Did that with Postman in Batch Mode once).

Last and least recommended to do it in the database.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

101 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you