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

How to Fetch the commits done by all members in a given month?

Pritam Agrawal
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!
July 6, 2023

I want to create a report wherein I am using atlassian-python-api to fetch the commits done by all team members irrespective of projects/repositories in a given month.

Basically want to extract the report on individual contributions

2 answers

0 votes
Uladzislava Kastsitsyna _Stiltsoft_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 8, 2024

Hi Pritam,

I am Vlada from the Awesome Graphs for Bitbucket team. I wanted to share that our app allows you to track global commits for certain team members over time. We offer out-of-the-box reports to see insight on individual contributions, one of them is the Contributor Calendar, and provide a rest api endpoint with the ability to export data on different levels (global, project, repository, user) as well.

Kind regards,
Uladzislava

0 votes
Mateus T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 2023

Hi @Pritam Agrawal!

Welcome to the Atlassian Community!

As to the atlassian-python-api package for Python, I'm not sure how to create this report as this is a 3rd party tool not developed and supported by Atlassian.

If you would like to create this export on your own, you could use our API endpoint to list all repositories and, for each repo, list its commits. With Python, you should be able to check for the author and the commit date in the payload.

Alternatively, Bitbucket's market place also offers a tool that's integrated into the UI called awesome graphs, which also helps you track commits in a given period and their authors:

Cheers,

Mat

Pritam Agrawal
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!
August 2, 2023

Hey Mat

Thanks for the revert.

I have developed the solution using API 1.0 endpoints.

Awesome graph does help for all repo in a single project, but I guess not for all the projects.

 

Regards,

Pritam

Like Mateus T likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events