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

Bitbucket: How to change repository ownership from user to team?

Hello. How to change repository ownership from user to team?

5 answers

1 accepted

35 votes
Answer accepted
Daniel Wester Community Leader Mar 25, 2015

From https://confluence.atlassian.com/display/BITBUCKET/Change+or+transfer+repository+ownership

"Make sure you know which user you want to transfer the repository to before you begin. Then, do the following:

  1. Log into Bitbucket using the account that owns the repository.
    This is the user the repository is transferring from.
  2. Go to the repository you want to transfer.
  3. Go to the repository's settings.
  4. Select Transfer repository from the left-side menu.
    The system opens the Transfer repository page:
  5. Enter the Username of the individual or team account you want to transfer to.

  6. Press Transfer repository.
    The Bitbucket server sends the user or team account a message containing a transfer request. The message goes to both the user's Bitbucket inbox and the external email inbox."

The admins of the team account then has to log in and accept the transfer.

Like youssef jebbouri likes this

when I created the Team I never created an account. So I am not sure how to accept the transfer, or how to associate the Team with a new user... should it be associated with the User used to create the team?

Like Lloyd Randall likes this

I would like to confirm that this answer is awesome because it comes handy to me.

gorazdv I'm New Here May 05, 2019

Thank you. It works perfectly.

I see this post is old and I wonder if the Web UI has changed ever since because I can't find "Transfer repository". What now?

EDIT: I just found it. We Need to do another step before #4:
3.5 Select "Repository Details".

Thanks Rainer.

Like youssef jebbouri likes this

Thanks Rainer. I am just extending answer that If user account is older then select Repository Details from Setting as Rain explained. After scroll to bottom and you will see the Transfer Repository option.

fuck, transfer request not show for new owner!!!

Like Rey likes this

After year looks like they fixed this. New owner see trasfer request and receive mail notification.

Below method works for me when you are already part of the team.

You can go to Projects, Select desired project, Add repositories from an individual account

This worked for me and didn't require jumping between users. It'll even warn you that the ownership will be transferred. 

This thread doesn't include the receiving end. I am waiting to get a repository transfer from an account I don't own into my new account and I don't know what to expect. No email was received and no notification was posted on my new account. What are the steps to accept the transfer? Appreciate the help.

Same here. A repository's ownership is pending (was sent to me) but after repeatedly coming back over the last couple of months I still can't figure out how to accept it:

 

This repository's ownership is pending transfer to xyz. Visit the repository details page for more info.

 

This page only shows the initiator and receiver of the transfer. I can't do anything there.

Like Lloyd Randall likes this

Right now you can only accept a transfer via the e-mail that's been sent to the email address of the account. So make sure you have access to the email address of the receiving account, then you can accept via a link in that email.

And who would the receiving account be? It's supposedly sent to our team/organization, but to our knowledge no e-mail is configured there.

When you created an account, an email address was required. It's supposed to be that address. When you log in as the receiving account and you go to Manage Settings, you should see an email address there (under 'Atlassian Account'). That should be the one!

Thanks! We know our accounts' e-mail addresses, but we found out what the actual problem was: we had one group that was set as 'Admin' for the team, but notifications were disabled on that account, so, no e-mails... it's fixed now! Thanks.

Nice! Hope you can help someone else in the future with this answer too!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Share your software development horror stories!

Hey Community! I work on the Bitbucket product marketing team. With Halloween approaching, we wanted to discuss a topic tailor-made for October: development horror stories. Whether it was a lurk...

620 views 6 2
Join discussion

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