Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Contact Support: Server  
Contact Support: Data Center  

Comparing branches/tags in Repository Browser

ALSO IN JIRA CLOUD

On the Repository Browser, 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:

  • select master as compare; select the most recent branch as compare.

  • select master as compare; select a tag with a version release.

  • select different branches as base and compare. (Example: TYT-212 against TYT-316)

Functions

Click  to swap the base and the compare selection.

The Summary page displays the CommitsAggregated 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.

Click Issues on the sidebar to view list of unique Jira issues related to commits.

On the Issues page, clicking the View in Issue Navigator text label will open the Search page with passed query of a list of Jira issues found based from the compare criteria.

  • For example, the JQL will look like issuekey in (GIT-1851, GIT-1159, GITCL-284, GITCL-254).
Have feedback about this article? Did we miss something? Let us know!
On this page