The Repository Browser allows users to view git repositories of configured projects via the Git menu on the Jira dashboard. This feature is only available on Jira Server instances.
To view all repositories, select Git in the dashboard menu then View all repositories.
Available git repositories of configured projects are displayed:
In the Repository Browser, click the Commits tab.
The list of commits for the currently selected project is displayed in decending order:
In the Repository Browser (Jira dashboard > Git menu > View all repositories), click the Compare page tab.
On this page, two branches from the current repository can be compared.
A diff between the base branch and the compare branch is displayed:
To view desired results, use the following selection scenarios:
Click … to swap the base and the compare selection.
The Summary page displays the Commits, Aggregated Lines by Developers and Files. Click on a file to view its code diff.
Click Commits on the sidebar to view the list of commits resulting from this compare. The adjacent figure indicates the number of commits associated to this compare.
Click Diff on the sidebar to view code diffs of the selected range of commits with the path and name of the affected files.
issuekey in (GIT-1851, GIT-1159, GITCL-284, GITCL-254).
Go to Administration > Add-ons > Git Integration Plugin for Jira > Git Repositories.
Click Actions > Edit to modify required repository settings. The screen for configuring repositories is displayed.
Scroll down to the Repository Browser option.
Select Enabled to activate this function for this repository. Choose Disabled to deactivate this function from this repository.
Add one or more existing projects in the Associate Project Permissions field to associate this git repository to the specified projects. Administrators can view commit information via the commit ID URL link. For non-admin users from unspecified projects, the commit ID URL link will be inaccessible.
Checking the Associate with all projects box will hide the existing associated projects in the Associate Project Permissions field and disable it. All existing associated projects in that field are still retained. When this setting is active, this git repository will be available to all existing projects in Jira.
Click Update to save configuration changes for this repository.