If the Git add-on is configured and licensed successfully, new tabs are added to each Jira issue.
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.
Introduced v2.9.9 The git commit compare function (Repository Browser - Compare) is added into this tab:
issuekey in (GIT-1851, GIT-1159, GITCL-284, GITCL-254).
Introduced v2.10.3 The Git Roll Up issue tab will now find the best matching branch name using the Jira issue key (ex: ABC-123) to find it. For example, if you have a branch name of v2.1-ABC-123, that branch will be auto-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:
Open an issue then go to the Git Commits tab to view commit information:
|Repository/Indexed||Name of the repository (as in add-on config) and date of last synchronization with remote repo.|
|Author/Committer||User who performed the commit. Hover the mouse pointer on the name to view user card.|
|Issue key||This is the Jira issue with the corresponding commit message.|
|Repository Name||This is the name of the repository the commit has been made. Click to browse this repository via Repository Browser.|
|Branch||Name of the Git branch. Click to view this branch via Repository Browser.|
|Commit UID||UID of the commit and git host link. Click the UID to view the code diffs for this commit. Click the git host link to view this commit via the git host server.|
|Files Changed||List of files affected by the commit. Click the file or git host link to view code diff of this commit.|
As of v2.5.5 of the Git Add-on, the code diff dialog view is improved. The Git add-on uses the correct syntax highlighting when viewing the code diff of the file based on its file extension:
|File Extension||Language ID|
|php, phtml, php3, php4, php5||PHP|
|html, html, xhtml, xml||Markup|
|c, h, m, mm, pl, pm||CLike|