Can I migrate a user to a team?

Before the introduction of "Teams", we created the equivalent by setting up a new user account e.g. "CompanyName".

We're now in the position that we would really like to convert this account to a team of the same name in order to make use of "projects". We have numerous automated builds set up that depend on that part of the repo path so ideally, this team would have the same name.

Is this possible without too many arduous steps? I.e. rename account (thus breaking all automated builds), set up the new team then migrating all those repos over. When we went through this process on Github, there was a handy "Make this account a team account button".

1 answer

0 vote
Lucas Moura Atlassian Team Aug 09, 2017

Hi Dan,

According to our documentation:

You can't convert an individual account to a Bitbucket team and vice versa. As an alternative, you can Transfer repositories and groups to your team to reassign existing repositories to a team.

 

Hope that it helps.

 

Lucas de Moura

Not really what I was after because we're looking to maintain the repo urls, but thanks for the swift response. Assuming then there's no convenient method, if we were to:

  1. Create a new account with a temporary name: CompanyNameTemp
  2. Migrate all accounts from the user CompanyName to user CompanyNameTemp
  3. Delete the user CompanyName
  4. Create a new team CompanyName
  5. Migrate all accounts back from CompanyNameTemp to CompanyName

Would we have any issues at #4 creating a new Team with the same name as a recently deleted user and subsequently migrating a bunch of repos back to a previously used (but now deleted) repo address?

@Lucas Moura just wondered if you could answer my follow up question?

"Would we have any issues at #4 creating a new Team with the same name as a recently deleted user and subsequently migrating a bunch of repos back to a previously used (but now deleted) repo address?"

Lucas Moura Atlassian Team Aug 18, 2017

Hi Dan,

You should not face big problems because they are two different types of account.

Please pay attention before Delete the user CompanyName, make sure that you migrate everything to CompanyNameTemp.

 

Best regards,

 

Lucas de Moura 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,279 views 26 12
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