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

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

change userid by script

We are migrating our Confluence spaces to an instance that uses a different format for username. Example we use frank.smith new systems uses fsmith.

Our production server uses Crowd to authenticate against a Windows AD server.

My strategy to resolve the name issus was to: 

Export/import the  spaces to a migration server without external authorization

Use CLI to create local user accounts that match external accounts

Rename the local userids of the accounts to be the userids of the new server

Export the spaces for import into the target instance.

I'm manually renamed some the the userids and it seems to do what I want, changing authorship/ownership of pages/attachments.  However, I don't see a way to rename 200+ accounts in bulk.  This is a process I will need to repeat several times.

Any ideas on how to script this task?


0 answers

Suggest an answer

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

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

305 views 12 9
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