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

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

how to transfer repository from one workspace to another workspace


I have more than 150 repositories in my premium account of bit bucket. I have to migrate from one workspace to other workspace.

Transfer option is working fine. But it is allowing only one repository to transfer.

How to transfer all the repositories at once?

Is there any API which could help in transferring the repositories. or any navigation flow in

Can someone help on this?

1 answer

0 votes

Hi Shiva and welcome to the community!

I'm afraid that we don't have an option for bulk transfer of repos at the moment, either in the UI or via API. There is a feature request in our issue tracker to add this functionality:

Looking for other options online, I found that another user created a script to bulk-import repos:

As per the README file there, this script does an import, and not a transfer. In this case, repos still remain in the original workspace, but a copy of them is imported in the destination workspace. Keep in mind though that with an import no metadata like Pull requests or comments is transferred.

I haven't used this myself, but if you would like to try it, I would suggest creating a test workspace (that you can later delete) and use the script to import to the test workspace, to see if this is something that works for you.

Kind regards,

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,706 views 10 16
Read article

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