Merging users - different Usernames and Directory)

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.

1 answer

1 accepted

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

That did it! Thank you :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

205 views 6 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you