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

This widget could not be displayed.
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 

@Dan Thomas Did you attempt this, and if so, did it work for you? I have the exact same scenario.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,303 views 8 11
Read article

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