Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can i choose which users to migrate in Jira Migration Assistant

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

2 answers

5 votes
Daniel Eads Atlassian Team Aug 23, 2021

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

4 votes
LarryBrock Community Leader Aug 22, 2021

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Cloud Migration

⭐️ Star in a Migrations Marketing Video! ⭐️

Hi all! Our Migrations Marketing team is looking for customers who have migrated over 1,000 users to Atlassian Cloud (Jira Software, Confluence, Jira Service Management, or Bitbucket) to be feature...

208 views 0 11
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you