My repositories are missing and I cannot see them in the repository list
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Sometimes, the repository that you have access to or have previously worked on does not appear on the Bitbucket Dashboard. It also does not appear in the Repositories tab.
Cause
When this happens, it is very likely we are in the wrong workspace. You can get the workspace ID from the URL. The phrase that comes after bitbucket.org/ represents the workspace ID. For example - In the URL https://bitbucket.org/testing-workspace/hello-world, "testing-workspace" is the workspace ID.
The default workspace that is loaded when you go to bitbucket.org is the last workspace that you have accessed. Hence, if you opened a different workspace, the next time you open Bitbucket, that workspace is loaded and the repository you might have been working on earlier might be located in an entirely different workspace.
Solution
If you have the remote URL of the repository or a local copy of the repository, we can find out the workspace easily.
To find out the remote URL -
Navigate to the repository folder
Type in the below command -
1 2 3 4 5 6 7
git remote -v // Sample Output - git remote -v origin git@bitbucket.org:sample-workspace/sample-repository.git (fetch) origin git@bitbucket.org:sample-workspace/sample-repository.git (push)
Look for the text after bitbucket.org. In the above example, it is sample-workspace.
Once we have the workspace ID, we can find the workspace where your repository is located at with the below instructions -
Click on your Avatar in the top right corner of Bitbucket. It should be next to the Settings Icon
Click on All Workspaces. The below screenshot indicates the location of this menu -
You will now be presented with a list of workspaces that you are a part of. However, these are workspace names and not workspace IDs. Usually, they are similar to each other but this is not an absolute requirement
Hover over each of the workspace names. The URL preview that is shown will have the workspace ID
Once you find the right workspace, click on it and then click on the Repositories tab. You should find it at the top of the page as shown below -
You should be able to find your workspace now.
A shorter way of directly accessing your repository when you have the workspace ID is to enter the URL into the browser as shown below. Append the repository name to the workspace ID in the URL.
1
https://bitbucket.org/workspace-id/repository-name
If you are still not able to find your repositories, you either doesn't have access to the repositories or the repositories doesn't exist or you might have multiple Bitbucket accounts and the account you logged in with an account that doesn't have access to the repos, you'll need to login the correct email address with access to the repositories.
Was this helpful?