Documentation

Jira Issue Page

If the Git add-on is configured and licensed successfully, new tabs are added to each Jira issue.

Git Roll Up

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

Git Roll Up tab - showing commit information, aggregated lines by developers and files added/deleted

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:

  • 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.
  • To swap the base and the compare selection, click .
  • To open the context of the Git Roll Up issue tab to the Compare page in a new browser tab, click send to compare 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.
  • INTRODUCED v2.10.0+ To view list of unique Jira issues related to commits, click Issues on the left panel.
  • Git Roll Up tab: Issues page - showing unique Jira issues related to commits

On the Issues page, clicking the View all XX issues with JQL 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).

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.

Git Roll Up Sort options

Select roll up options by clicking the respective Rollup button:

Git Roll Up - RollUp options

Git Commits

Git Commits tabs

Open an issue then go to the Git Commits tab to view commit information:

InformationDescription
1 Repository/IndexedName of the repository (as in app config) and date of last synchronization with remote repository.
2 Author/CommitterUser who performed the commit. Hover the mouse pointer on the name to view user card.
3 Issue keyThis is the Jira issue with the corresponding commit message.
4 Repository NameThis is the name of the repository the commit has been made. Click to browse this repository via Repository Browser.
5 BranchName of the Git branch. Click to view this branch via Repository Browser.
6 Commit UIDUID 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.
7 Files ChangedList of files affected by the commit. Click the file or git host link to view code diff of this commit.
8 View full commitClick to view the contents of the full commit in a new dialog window.
9 Git web linksClickable web links that will take you directy to the git host.

View the whole commit code diff information by clicking the View full commit button to the right of the commit message.

View code diff information of the particular file by clicking the filename for each file adjacent to the rollup counter markers.

Code Syntax Highlighter

As of v2.5.5 of the Git Integration for Jira app, the code diff dialog view is improved. The Git for Jira app uses the correct syntax highlighting when viewing the code diff of the file based on its file extension:

File ExtensionLanguage ID
cssCSS
jsJavascript
cppC++
csC#
shBash
javaJava
sqlSQL
pyPhyton
rbRuby
php, phtml, php3, php4, php5PHP
html, html, xhtml, xmlMarkup
c, h, m, mm, pl, pmCLike

There is no language auto-detection in the diff dialog. The detection is based on file extension.

Get new product notifications and feature updates from BigBrassBand LLC.

Subscribe to our mailing list