Merging users - different Usernames and Directory)


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?


1 answer

1 accepted

This widget could not be displayed.

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.


That did it! Thank you :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/ ExecStop=/opt/jira/bin/ TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,499 views 10 12
Read article

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