Migration of users from Internal Directory (server A) to Active Directory (Server B)

Naresh k April 8, 2023

Hi

We have two Jira instances which are Server A and Server B. Where Server A is using Internal Directory and Server B is Using Active Directory,

Now we are migrating Server A to Server B, But we have an Problem like In Server A and Server B we are having two different users with same mail but different Usernames.

In server A user is login by using username,  In server B User is login by using Email id.

After the migration of server A to Server B

1. Will both of the users will able to login ?
2. Is there any chances of data loss in Server A ?
Regards
Naresh

3 answers

2 votes
Carlos Garcia Navarro
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 8, 2023
0 votes
Sandra Hicks April 8, 2023

Just in case. On servers A and B, are those actually two different users, or is it the same user? (as they have the same email associated).

Do you prefer that the users remain distinct or should they be combined?

Naresh k April 8, 2023

Hi sandra Hicks

In server A, user is login by using user Name , In server B user is login by using email id, In both server A and Server B email id is same, while migrate the users from server A to Server B,

After the migration server A to Server B

1.user is login by using email id  In server B, which user name is considered in Server B? 

2. Is there any chances of data loss in Server A? 

Regards

Naresh

0 votes
Bastian Stehmann
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 8, 2023

Hi @Naresh k ,

Just to be sure. Are that really different users on server A and B or is it the same user (as they have the same email associated).

Do you want the users stay differentiated or should they be merged?

Naresh k April 8, 2023

Hi  Bastian stehmann, 

In server A and Server B, users are different but mail id is same, I want to users should be merged, After merge the users, which user name need to be consider, both the users able to login in server B. 

In server A, user is login by using user Name , In server B user is login by using email id, In both server A and Server B email id is same, while migrate the users from server A to Server B,

After the migration server A to Server B

1.user is login by using email id  In server B, which user name is considered in Server B? 

2. Is there any chances of data loss in Server A? 

Regards

Naresh

Bastian Stehmann
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 8, 2023

Hi @Naresh k ,

If the users should be merged, you have to make sure that user names are the same in both servers before migration.  So you have to rename users in server A. You could do that by REST API. 

Then users will login to server B and see data of server A and B.

There is always a chance, that data migration does not work as expected due to conflicts or,something else. So you always have to verify migration afterwards. 

Naresh k April 10, 2023

Hi Bastian Stehman

 

Thanks for the Reply, Could you please provide the steps for How to rename the user Name by using REST API, We are using Jira version 8.1.7

 

Regards

Naresh

Bastian Stehmann
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 10, 2023

Hi Naresh,

 

You could use this https://docs.atlassian.com/software/jira/docs/api/REST/8.1.0/#api/2/user-updateUser to change the user name. To do that in bulk, you could use a tool like postman. It has a runner to run the same request with data from a csv file, where you could define the mapping from old and new username.

Suggest an answer

Log in or Sign up to answer