You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.
Join groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
We got a couple Projects, with quite a few repositories in some case, and there are also private repositories.
How can i find out the size of each?
(As to check if private ones are used reasonably and what projects are eating up my disc space.)
In Bitbucket Cloud, a repository admin can see the size under "Repository Details" under Settings.
In Bitbucket Server too, you can view it under Settings > Repository Details after clicking on "Retrieve Size Details".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are in the Repository settings, make sure that you have selected the top/first item for Repository details. Then, you should see Approximate size with Retrieve size details. Just click on Retrieve size details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is ther still no possibility to get the repo size using the REST API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
`size` is a property of the repository object on the API. Here is an example object from https://api.bitbucket.org/2.0/repositories/atlassian/bbql/?fields=-owner,-workspace,-links,-project
(Note that I've used field exclusion to remove some fields so it's easier to read).
The size is in bytes.
{
"scm": "git",
"website": "",
"has_wiki": false,
"uuid": "{937ead00-56c2-4ade-a39f-5ece4cad603a}",
"language": "python",
"fork_policy": "allow_forks",
"name": "bbql",
"created_on": "2015-12-24T01:38:39.423219+00:00",
"mainbranch": {
"type": "branch",
"name": "master"
},
"full_name": "atlassian/bbql",
"has_issues": true,
"updated_on": "2020-05-15T01:15:06.344215+00:00",
"size": 1911650,
"type": "repository",
"slug": "bbql",
"is_private": false,
"description": "API query language for Django as used on bitbucket.org."
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a table or query we can check against the database instead? Just trying to verify if any of our repos are over 2GB for the Cloud migration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.