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

Contact Support
GitKraken Status  

Require Personal Access Tokens for user actions (create branch/pull request)

What’s on this page:




The Git Integration for Jira app allows users of integrations (such as GitLab, GitHub and etc.) to create branches and pull requests from within the Jira issue. By default, the operation will be performed by the integration user that is used for indexing.

Jira issue page showing the Create Branch dialog where you can select a Repository, Base Branch and enter a user-defined Branch name. Create branch to proceed or Cancel to disregard.



For teams looking to maintain user attribution, Jira administrators can require that individual Jira users provide personal access tokens to perform actions such as creating a branch or pull request in Jira. This can be done by using their git service account rather than the integration account.


Supported integrations

User attribution is supported in the following special integrations in Git Integration for Jira Server:

  • GitHub Enterprise
  • GitLab self-managed
  • Microsoft Azure DevOps
  • Microsoft Visual Studio Team Services (VSTS)
  • Microsoft Team Foundation Server (TFS)
  • AWS CodeCommit



To enable/disable the Require User PAT setting for all repositories within an integration:

  1. Navigate to Manage Git repositories.

  2. Add a new integration or edit existing integration’s feature settings.

  3. Locate the Require User PAT setting.

  4. Click the box to enable the requiring of user PAT.

  5. Click Update at the bottom of the page to save the setting.


What will Jira users see?

  1. Once the Jira administrator requires Personal Access Tokens, your Jira users will be presented with a message that setup is required.

  2. Following that link, the PAT setup dialog is displayed.

  3. With the Personal Access Token saved, the user will now see the following:

  4. Users can also go to the Repository browser screen and then configure the Personal Access Token for the repository via the edit icon.

    • The checkmark adjacent to the edit icon indicates that the PAT has been configured.
  5. Users can reconfigure the PAT in the Repository browser if it was changed from the git server or expired.

Personal Access Tokens are saved per integration by individual Jira users app. While the examples shown above are for the Create branch action, it is also applicable to the Create pull request action. The same token is used for Create branch and Create pull request functions.

Jira users must have the View Development Tools permission in the context of a Jira project to view content from the Git Integration for Jira app.


Optional PAT setup for Create branches and Create pull request dialogs

Jira users can now provide their own PATS on the Create branches and Create pull/merge request dialogs even if it is not mandatory from the Jira admin.


More How-to articles

How to get a quote?

Setting Project Permissions

How to create a HAR file and send it to support for analysis

Working with Custom API Path

Working with JMESPath Filters

Configure Source Code Diff Viewing

Creating and configuring SSH keys (Windows/MacOS/Linux)

Require Personal Access Tokens for user actions (create branch/pull request) (this page)

Ways to Index Git Data to Jira Issues

Proxy settings on adding integrations (except AWS CodeCommit)

Creating Personal Access Tokens

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