In the Activity tab of the Graphs page, you can track the recent activity in your projects and repositories. The data displayed includes:
- Commits and Pull Requests charts, showing the number of commits/pull requests made by top contributors during the chosen period.
- The Activity stream of all commits and pull requests within the selected time span, shown with links to the associated JIRA issues, hashes, and Change Type lozenges.
Below on the page, you'll find:
- instructions on how to view the Activity graph for projects and repositories
- a detailed description of all elements
- an overview of the filtering capabilities
For easier navigation, use the Table of Contents at the top-right of the page.
How to view the Activity graph
The Activity graph is available both on the project and repository levels. To view the Activity graph:
- Navigate to the project or repository of your choice.
- Click on the Graphs icon in the left-hand sidebar.
While browsing the Activity graph of a certain project, you can select one of its repositories from the Repository Selection drop-down menu with the list of all the repositories of the current project. Learn more
Tools to analyze the activity
You can view the visualized statistics on commits and pull requests in easy-to-read Commits and Pull Requests charts and track the stream of all commits and pull requests Activity section at the bottom of the page.
The Commits chart displays the contributors with the biggest number of commits over the selected time span. Each bar represents the number of commits made by one contributor.
Above the chart you can see:
- number of days included in the selected time span
- total number of commits made during the selected time span
- total number of contributors who contributed to the project/repository during the selected time span
Hover over a column to see the exact number of commits.
Pull Requests chart
The Pull Requests stacked bar chart displays the contributors with the biggest number of pull requests over the selected time span. Each bar shows the number of created, merged, and declined pull requests of one contributor. Above the chart, you can see the total number of pull requests created, merged, and declined during the selected time span.
Hover over a column to see the exact number of pull requests.
Below the Commits and Pull Requests charts, there are contributors icons. Hover over icons to see contributors' names and emails. Icons of Bitbucket Server and Data Center users are clickable. Clicking them takes you to the Contributions tab of the Bitbucket user profile.
In the Activity section below the charts, all commits and pull requests of the selected time span are shown as the activity stream with links to the associated JIRA issues, hashes, and Change Type lozenges.
By default, the files related to commits and pull requests are displayed in the activity stream. You can hide them by using the On/Off toggle button.
Filtering the displayed data
You can filter all the information displayed in the Activity tab by certain contributors and/or by the period.
Track the activity of a particular user or a team
By default, the Activity graph displays commits and pull requests of all contributors of a project or repository.
In the All contributors dropdown menu it's possible to choose certain contributors (a team or a user) and browse this graph for them only.
Choose a team in the Teams tab to see personal statistics. Read more about teams here.
Choose a user in the Users tab to see personal statistics.
Track the activity over a certain period
To set a time span, navigate to the Time Span menu and select one of the options or click Custom to set a custom time span.
How to hide the Pull Requests chart
If necessary, you can hide the Pull Requests chart.
To hide the chart of the Activity page in a project, a user needs global administrator or project admin permissions. For a repository, a user needs global administrator, project admin, or repository admin permissions.
To do that, you'll need to:
- Navigate to the Activity tab of the Awesome Graphs section in the project/repository settings.
- Clear the Display pull requests chart checkbox.
- Click Save.
By default, the Pull Requests chart is displayed both in the project and repository Activity tabs. When you configure the Activity tab in project settings, changes apply not only to the project tab but also to respective tabs of the repositories of the current project, in which this setting has never been manually changed from the default one in the repository settings.