Hi,
You can achieve this using Awesome Graphs for Bitbucket. Our app provides REST API that can help you export raw data about commits, lines of code, and pull requests.
Here is an example of a curl command to retrieve the number of commits and lines of code added and deleted in all projects and repositories for the specified period:
curl -X GET -u username:password "https://%bitbucket-host%/rest/awesome-graphs-api/latest/commits/statistics?sinceDate=2020-01-01&untilDate=2020-02-01"
Let me know if you have any questions!
Best regards,
Vlada
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.