Merging users - different Usernames and Directory)

Mariana Scott August 22, 2017

Hello,

We are in the process of migrating our team's Jira to a new company-wide JIRA installation. We have sucessfully migrated the projects and all associated tasks, however, the user names in our group's Jira is different from the company's JIRA.

Therefore, new users were created in the company JIRA, which are sort of duplicates of the users we're migrating. Finally, we used JIRA Internal Directory in the group Jira while the company Jira uses Active Directory server, so we now have a combination of the two.

So, is there a way to merge users with different user names, and Directories and keep their Group information?

Thanks.

2 answers

1 accepted

1 vote
Answer accepted
MoroSystems Support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2017

Hello Mariana,

we have already performed the type of user migration as you describe for one of our customers. The process was as follows:

  1. we have used Adaptavist ScriptRunner for JIRA for running our custom script that renamed users from their Internal Directory form to the AD one (you can do that by using JIRA Java API - specifically UserService),
  2. only then we have migrated all the data so users won't be created as "duplicates".

However I think that even when you have already migrated your data, you can:

  1. temporarly disable Active Directory (all AD users will be hidden from JIRA API -> they won't block us in step 2),
  2. write yourself a script to rename them as we did,
  3. lastly, re-enable the AD and the user accounts should "pair/merge" themselves.

Regards,
Martin

Mariana Scott August 24, 2017

That did it! Thank you :)

1 vote
Musku Nagaraju June 2, 2020

Hi @ma

We are looking same work around, we have 300 internal user and 20000 issues, now we are configured AD directory, we are looking users migration from internal to AD.

 

We are using script runner, could you please help me on script to achive this.

 

Thanks

Nagaraju

Suggest an answer

Log in or Sign up to answer