Git Integration for Jira Cloud Documentation

Contact support
GitKraken Status  

End User Guide – GIJ Cloud

Introduction to GIJ

Thank you for using Git Integration for Jira! First, let’s go over how information will be displayed in Jira through our application.

Jira Issue View

GIJ will display commits, branches, and pull/merge requests associated with a specific Jira issue. The Jira issue key must be included in the commit message, the branch name, and the pull/merge request title in order for GIJ to link the item to the respective Jira issue.

Jira Issue View

Breakdown of information provided by GIJ in Jira issues:

Git Commits Tab

  1. Git Commits tab in the activity stream, broken down by repository
  2. Individual Commit, noted by Developer that made the commit
  3. Commit message
  4. Commit line change summary by file
  5. Link to view Code diff in Jira

    Git Integration Panel

  6. Commit Count
  7. Option to Create a branch directly from a Jira Issue. Associated Branches with change comparison count to main repository branch
  8. Option to Create a Pull/Merge request directly from a Jira Issue. Associated Pull/Merge Requests with status

Additionally, the Git Rollup tab allows you to see a summary of the files, lines and the developers who have made the changes associated with the Jira issue.

Git Rollup Tab

Linking Behavior

GIJ uses the Jira issue key to determine whether or not a repository activity (Commits, Branches, Pull/Merge Requests) is linked to any Jira items. In order for the linking to occur, you need to include the Jira issue key in the commit message, the branch name, and the pull request title. It does not need to be in any specific part of the message or name as long as it is included. Please see: Linking Git Commits to Jira Issues for more details.

Jira Issue Key
Commit Example
Pull request Example

Creating Branches

You can create branches directly from a Jira issue using GIJ. To do this, first open and load the ‘Git Integration’ panel from the right hand side of the Jira issue, then click the ‘Create branch’ option.

Create Branch 1

Select the desired repository to create the branch in, the source branch, and the branch name. Make sure that the Jira issue key is included in the branch name.

Create Branch 2

You will see a pop up after the branch is created, and you will be able to link our directly to the newly created branch.

Creating Pull/Merge Requests

You can create Pull/Merge Requests directly from Jira using GIJ as well. To do this, first open and load the ‘Git Integration’ panel from the right hand side of the Jira issue, then click the ‘Create Pull Request/Merge Request’.

Create PR 1

Select the repository, Source and Target branches, and make sure that the title of the pull request contains the Jira issue key, and click the ‘Create pull/merge request’ button.

Create PR 2

You will see a pop up after the branch is created, and you will be able to link our directly to the newly created branch.

GIJ User Settings

GIJ let’s you manage your Connected Apps, Default Repository, Branch, and Personal Access Tokens through the GIJ User settings page.

To navigate to this page, click your Jira profile picture icon, then select ‘Git Integration: User Settings’.

User-Settings

Connected Apps

You can enabled/disable the visbility of the the Gitkraken and Gitlens icons in Jira issues which allow you to open specific Git items in the respective application directly from the issue.

Connected Apps
Connected Apps - icons

Default Repository

You can set a default repository on a per project basis.

Default-repo

Default Branch

You can set a default branch for a specific repository, set up dependent on the Jira Project.

Default-Branch

Personal Access Tokens

You can manage the Personal access tokens that will be used to authenticate your requests to create Branches and Pull Requests directly from Jira. You will need to provide a token for each integration. You can both provide the Personal Access Token and click the link to create a new token, which will take you directly to the token creation page for the given Git service. Please see Creating Personal Access Tokens for detailed instructions for creating your PAT.

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