Awesome Graphs for Bitbucket gives you the capability to export raw data with the statistics across all projects and repositories to a CSV file by using the Export to CSV feature. As a result, you will get the list of the commits or pull requests made during the selected time span with their details.
The resulting CSV file can be further exported into Confluence and transformed into a table using Table Filter and Charts’ Table from CSV macro .
Macro configuration:Pivot Table:
|Row Labels||Author Name|
|Calculated Column||Added Lines, Deleted Lines|
|Labels Column||Author Name|
|Values Column||Sum of Deleted Lines, |
Sum of Added lines