Number of lines modified count (based on the pull request) like git stats

Nithin Reddy
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!
March 11, 2024
  1. I would like to know the number of lines added, deleted or modified in a file like a difference stat from git by accessing my bitbucket code changes throught requests library in python with rest api 1.0. 
  2. I would like to know if bitbucket can provide with any possible way to analyse the above requiements.

I have already have a structure to get the difference based on the pull requests, but i have to loop through all the json files to gather the count of the stats.


I can get the information from git after cloning the repository, but i wold like to run the code for many projects, so cloning and extracting the data is not efficient.

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events