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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.