Merging/Migrating User between User Directories

I have a problem with a JIRA-User after adding our Active Directory to the user directories in JIRA (6.1.3).

This guy got an account in the JIRA Internal Directory like this: lastname,firstname (notice the comma instead of a full stop), but our name convention for the AD is lastname.firstname. So after adding the AD I want to merge/migrate the comma-account to the new one, or at least rename it to match (which isn't possible as it is, since the full stop-account already exists.)

The goal should be that he logs in as lastname.firstname and still got all the issues and what else that he created with the other account.

1 answer

1 accepted

You can use of the Script Runner's built-in scripts - "Rename a user ID" - https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-RenameaUserID

This script has two modes - rename and merge, so it should do the job.

That worked! Thank you.

The script successfully did its job, but now I got a lot of load on the system. Is that to be expected?

This might be due to indexing. I think it was mentioned in the documentation of this script.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,944 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot