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

How to get an year’s data of all commits and pull requests made by all users in Bitbucket.

Sravya Nalla November 28, 2023

Requirement : To obtain an year’s data of all commits and pull requests made by all users(indian users) from every project in our Enterprise Bitbucket.

 

Is there any way we could do get this data using api's or code?? or any plugins for this requirement!?

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 30, 2023

Hi Sravya,

I'll need more clarification on this one. May I know what is meant by "data"? Are you referring to stats (ie total no. of commits, how many commits each user made) or just a full list of those commits and their content? Is there anything present that is unique in say, the user's email address or some other unique aspect that defines that user as an Indian user so that it may be fed into a filter query? 

I'd start by checking our /2.0/repositories API endpoint as a first step, as there are several queries you can run to pull data related to commits:

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events