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

Contact Support: Server  
Contact Support: Data Center  

Jira issue page – Git Roll Up tab

The Git Roll Up tab now allows users to view the code diff between the base and the compare versions.

Open an issue then go to the Git Roll Up tab to view commit statistics, diffs and related issues.

The Summary page shows statistical information of the first and last revision of the commits and the time since the last commit was made. A summary of the files, lines and the developers who made the changes in this range of commits are also displayed.

Git Compare

The git commit compare function (Repository Browser – Compare) is added into this tab:

  • To view a compare result, set the base: and the compare: dropdown selectors with different values.

  • The repository dropdown allows switching of context between repositories.
    Example: jira-git-plugin

  • To swap the base and the compare selection, click  (ellipsis button).

  • To open the context of the Git Roll Up issue tab to the Compare page in a new browser tab, click the adjacent pop-out icon.

  • To view the code diff of the compare result, click Diff on the left panel.

  • To view the commit statistics and summary of changes, click Summary on the left panel.

  • To view list of unique Jira issues related to commits, click Issues on the left panel.

  • On the Issues tab, 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). |

The Git Roll Up issue tab will find the best matching branch name using the Jira issue key to find it. For example, if you have a branch name of v2.1-ABC-123, that branch will be automatically selected when you open the Git Roll Up issue tab.

Sort the code statistics by clicking the respective Sort button then selecting the required sorting option.

Select roll up options by clicking the respective Rollup button.

To view the code diff of the file, click the corresponding  filename on the Files summary table. A dialog will appear displaying the file diff between the first and last revisions of the commit.

Have feedback about this article? Did we miss something? Let us know!
On this page