Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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!


How to get the Bitbucket repo size by API

Deleted user Dec 15, 2020

Hi team,

I would like to know the size of the bitbucket repo by API or by any means. I've seen the comment of the Atlassian Team and I've attached the screenshot as well. 

But I'm not sure I get that. Could you pls elaborate on that?Screenshot 2020-12-15 185133.png  


Appreciate it if this can be discussed by having a call on google meet or anyother.

2 answers

1 accepted

2 votes
Answer accepted
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 15, 2020

Here is the documentation:

Replace `workspace` and `repo_slug` with the details of your repository.

You can filter for just the size field:

{"size": 1911650}

That is the size in bytes. It's about 1.8 MB.

That's a public repository:

Deleted user Dec 17, 2020

Thank you So much @Tyler T 

Is there a way to do the same in Bitbucket Server since it is another product an another Api


doesn't give me the size in the details. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events