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!


List all non personal bitbucket repositories

Hi all,

I am migrating bitbucket server to the cloud/SaaS and will only want to migrate the non personal / user repos.   

How would I get that listing?

Thanks in Advance!

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 27, 2022

Hi Robert,

How are you planning to do the migration? Are you going to use the Bitbucket Cloud Migration Assistant, or are you going to write a script for the migration?

The recommended way to migrate is by using the Bitbucket Cloud Migration Assistant plugin, as this way you can also migrate projects, pull requests, and users. Please note that this is available for Bitbucket server 7.0.0 and newer versions.

The plugin can only migrate non-personal repos, so you don't need to filter out any personal repos during the migration process.

You can also check the following documentation for more details:

If you still want to get that list it should be possible via our API. You can use the following endpoint to get all projects in the instance:

When you have a list of projects, you can iterate them with the Project repository API to get a list of each repository in the projects:

Personal repos do not belong to standard Bitbucket projects. They are organized under internal projects where the project key is a tilde char (~) followed by the username (e.g. ~user1), so you can exclude these from your calls.

Please note that the documentation links I shared are for the API of Bitbucket Server 7.17.0. These APIs can be different from version to version, so if you need the documentation for a specific version, please let me know what version you are using and I can find and share the relevant links.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events