The Contributions tab is located in the Bitbucket Server user profile. There you can see personal contribution activity of a single contributor over a given period of time. It has Contributor Calendar and Activity Stream. Here by contribution we understand the sum of all commits and pull requests made by a user across all projects, repositories and branches.
Contributor Calendar has two views:
- Summary – contributions from all/selected repositories are summarized and shown together.
- Detailed– visualizes the breakdown of all activity by repository and project.
Use the split button in the right top corner to switch between views.
The calendar in the summary view has commits and pull requests from all repositories joined together.
By default, it shows the calendar and activity stream with commits and pull requests for the past year.
Hover your mouse over a square (each square represents one day), to see how many contributions were made that day.
To view the details activity over a certain time span, do one of the following:
- to see the contribution activity for one day, click the square representing that day in the calendar;
- to see the contribution activity for the last year/quarter/month/week/3 days/24 hours, choose a predefined value from the drop-down menu in the upper-right corner of the user calendar;
- to see the contribution activity for a custom time span, select a range of days by clicking the first day (start point of the time span) and dragging to the last day of the time span.
You can also see the list of all repositories a user contributed to within last year in the Repositories filter. By default, 'all repositories' is selected. When you select one of the repositories from the list, the contributions statistics is filtered and the Contributor calendar is updated based on your repository selection.
Below Contribution Calendar, you can see:
- contributor’s total amount of commits over the last year;
- the day on which the maximum number of contributions was made within last year (the date and the number of contributions);
- duration of the contributor's longest streak (streak is the number of days in a row the contributions were made by a Bitbucket user);
- duration of the contributor's current streak.
In the Activity Stream section below the Contributor Calendar, all user's contributions (commits and pull requests) are shown as an activity stream with links to the associated JIRA issues and Change Type lozenges. Contribution Activity Stream displays the contributions within the time span that is set. Its content changes together with the adjustment of Time Span.
For more information about linking Bitbucket Server and JIRA, please, see here.
The calendar in the detailed view shows commits and pull requests summarized by repository and project.
Each row of squares is one project or repository. By default, the calendar shows both projects and repositories. You can collapse and expand repositories when you need it.
Use the filter to change the time span for the calendar.
Hover over a square, project or repository, to see the hint with the number of contributions.
Below the calendar, you can find the activity stream with details about commits and pull requests. The activity stream is updated, when:
- the time span is changed
- you click a square
- you click a project or repository
Viewing Your Personal Statistics
To see your personal statistics, select My Activity from the menu in the upper-right corner of the Bitbucket Server window.
Viewing Others' Statistics
To see the statistics of another contributor, navigate to the Contributions tab of his/her Bitbucket Server user profile. You can do that in several ways:
Via the People drop-down menu
Select one of the names on the recently viewed list or locate the needed contributor on the People page and click his name.
Via the Activity tab in the repository
Click a corresponding Bitbucket Server user icon below the commits and pull requests charts or click the name of a contributor in the activity stream.
Via the Contributors tab in the repository
Go down to the Contributors list and click the name of a contributor.