Jira Developer Panel

Git links are now available on the developer panel in the following screens:

  • Issue page
  • Search page in detailed view
  • Jira Agile screen
Jira Git Source Code panel

The 153 commits refers to an existing Git Commits view, which the issue tab have now.  Clicking this text link will reload the page and automatically selects the Git Commits tab to view the commits.

The Roll Up refers to an existing Git Roll Up view, which the issue tab have now.  Clicking this link will reload the page and automatically selects the Git Roll Up tab to view the git code summary.

Jira Server Only Click clone repo Clone Repository to open the Git Repository Connection Information dialog.

Jira Server Only Click compare branchesCompare code to compare code diff of different branches.  It will open the following dialog:

Jira Git Source Code panel - compare code

Select a Repository.  Set Compare branch and Base branch then click Compare to proceed.  The view redirects to the Repository browser Compare page showing changes between the compared branches.

note
The most commonly used name for the main branch is master.  In this documentation, the master branch is also the main branch.

The Branches section lists the branches names, linking the selected branch to view via the Repository Browser.  Only unmerged branches are shown here.

Click Create Branch to create a branch for the selected repository.  The following dialog is displayed:

Jira Git Source Code panel - create branch

Select Repository.  Set Base branch and Branch name then click Create branch to proceed.  The newly created branch is listed under the Branches section based on branch name.

The branches are shown if they have associated commits or if the issue key is present in the branch name.

This feature is only available on connected GitLab git hosts.

The Merge requests section lists the merge requests and their status.

To create a merge request, click Create merge request.  The following dialog is displayed:

Jira Git Source Code panel - compare code

Select Repository.  Set Source branch and Target branch.  Enter a Title name for this merge request then click Create.  The newly created merge request is listed under the Merge requests section.

This feature is only available on connected GitLab git hosts.

In Issue and Search pages, the developer panel is visible on the right pane:

Dev panel search and issue pages

In Jira Agile screen, click on an issue on the board grid.  Scroll down on the right pane to view the developer panel:

Jira developer panel Agile screen

The numbers ahead and behind represent the number of commits that are ahead/behind the main branch:

  • Ahead  –  number of commits in the branch which are not merged to the main branch.
  • Behind  –  number of commits in the main branch which are not merged to the branch.

Clicking on the branch text links will open that issue in the Repository Browser.  If Repository Browser is disabled for this repository, the text links will be inactive.

note
The Branches section is only visible if commits from this branch are not merged to the main branch.  It's also not displayed if the repository is not associated with a project.
warning
If the user does not have the View Development Tools project permission for the project, the developer panel will be unavailable for that user.