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

Need help in getting all users commits for all repos and branches for last one week

Nitish Kumar Guntupalli
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!
June 12, 2024

Hi Team

I want a report of date containing username, bitbucket url ,commits and branch and data.

This is from all repos and branches for last one week.

can any one give me solution.

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 13, 2024

Hello @Nitish Kumar Guntupalli ,

welcome to the Community!

While we don't have direct reporting containing the data you're looking for, the repository and commit data are available through the Bitbucket Cloud public rest API.

I'm listing some relevant endpoints below that you can use to build a script that iterates through all the repositories within the workspace, getting the data you mentioned:

When making requests to those API endpoints, you can use filtering and querying capabilities to get the data in a specific timeframe.

I would also recommend taking a look at the below article for further examples of using the API to build reports:

I hope that helps! Should you have any questions, feel free to ask.

Thank you, @Nitish Kumar Guntupalli !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events