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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,682
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events