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 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 votes
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.

@Dan Thomas Did deleting the named user account and creating the named team work for you?

@Lucas Moura Did you confirm that this would work?

I want to do this too.  @Jon Karnofsky Did you try it?

We never actually went through with this, scheduling appropriate time for bulk repository migration has been challenging. Please do update here if you go through with it though.

I've got few repos to migrate.  Rather, I wish one of our users hadn't claimed the name I want for the team.  So I'll try the deletion, and see if the name becomes available as a team.

@Paul Ojanen I never ended up going back to it, sorry. If I do and it works, I'll update in here. Thanks! 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,043 views 1 16
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