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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to consolidate multiple bitbucket workspaces and respective repositories under one workspace

Hi All,

We have multiple Bitbucket cloud work spaces with hundreds of repositories. We want to consolidate all the workspaces into a single/one workspace without loosing the data (metadata, commits, PR etc) from source to target.  Are there any ways to do it? Can it be possible via automation scripts ?



1 answer

0 votes

Hi Shankar,

It is possible to transfer a repository to a different workspace. All commits and metadata get transferred, except for Deployment variables. In case you are using Pipelines and have Deployment variables in any of these repos, please make a note of them so you can recreate them after transfer.

You can read more details on how to transfer a repository here:

If you transfer a repository, its URL is going to change. Users who have a clone of repos you are going to transfer on their local machine will need to update the remote URL in each clone. Details are provided in the last section of the page I shared.

Please note that repositories with Git LFS cannot be transferred. In case you want to transfer a repo with Git LFS, please check the workaround provided on the following page (as mentioned on that page, metadata cannot be copied over for these repos):

I'm afraid that it is not possible to do a bulk transfer and that we don't have an API endpoint to automate this. The operation needs to be done through the UI for each repo, and the transfer request needs to be accepted by an admin of the workspace you are transferring to.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events