You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello all,
really urgent question i have:
can i choose a specific users to migrate? (i have this error that keeps telling me that i have duplicate users)
thanks
Nadia
Hi @Nadia ,
In addition to the page @LarryBrock has pointed out, which is very helpful for understanding which users will be imported during a migration run, you can also run a database query to see which user accounts have the same email address. Since logins for Jira Cloud are the email address and not a username like on Server, all the email addresses must be unique. The database query is documented on JRASERVER-9182 but I've copied it here as well:
with users as ( select lower_user_name, lower_email_address from cwd_user CU join cwd_directory CD on CU.directory_id = CD.id and CD.active = 1 group by lower_user_name, lower_email_address), duplicated as ( select lower_email_address from users group by lower_email_address having count(lower_email_address) > 1) select U.lower_user_name, U.lower_email_address, CD.directory_name , coalesce (UA.attribute_name, 'login.count') as attribute_name, coalesce (UA.attribute_value,'0') as attribute_value from duplicated D join cwd_user U on D.lower_email_address = U.lower_email_address join cwd_directory CD on U.directory_id = CD.id left join cwd_user_attributes UA on UA.user_id = U.id and UA.attribute_name = 'login.count' order by u.lower_email_address, attribute_value desc;
List of users in hand, you can change the email addresses on the accounts before running the migration job. Simply deactivating the users in question won't resolve the error, as deactivated users are still part of the migration run (they just aren't granted product access).
Cheers,
Daniel
Hi @Nadia ,
This is the best page on user selection in JCMA I can find and it only gives two options, of which neither is the ability to pick specific users or groups.
https://support.atlassian.com/migration/docs/migrate-users-and-groups/
Hope this helps,
~~Larry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.