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

The Complete BitBucket Project/Repos/Folder Tree

Steve Jones
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2024

Hi Everyone

Is it possible to extract a complete Project/Repos/Folder Tree from BitBucket? Unfortunately, we have a lot of staff off work at the moment and I can't find stuff easily (search isn't working) and I am not an admin yet.

First question so be nice.

Steve

1 answer

0 votes
Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2024

HI @Steve Jones ,

 

I'm not clear on the exact requirement here, but it should be possible to get this information using the REST APIs.

1. Get repositories in a workspace - https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get

2. Get projects in a workspace - https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-projects-get

3. Get folders/files in a repository - https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-commit-path-get

 

Hope that helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events