March 28th 1 PM ET
Free Workshop: Escape the chaos of context-switching

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

Creating branches and pull/merge requests (Integration basics)

The Git Integration for Jira app adds two features on the Jira issue developer panel – Create Branch, and Create Pull/Merge Request. For more information about the developer panel, see the Jira Git Integration Developer Panel documentation.

 

Default branch

Most git integrations allow changing of the default branch of the repository/project other than master. This change is reflected in the  Repository Settings of the Git Integration for Jira app on the next reindex. Auto-connected integrations support this feature where Git Integration for Jira app gets the default branch from almost all integrations and apply this setting at repository level. For the case with Gerrit, the default main branch is always master.

Main branch for repositories within an integration can only be changed on the git server.

 

Creating branches

Open a Jira issue then on the developer panel, click Create Branch label to create a branch for the selected repository.

For detailed information on this feature, see Creating branches from Jira).

 

Creating pull/merge requests

Open a Jira issue then on the developer panel, click Create pull/merge request label to create a pull/merge request for the selected repository.

For detailed information on this feature, see Creating pull/merge requests from Jira.

 

More related articles on integration basics

Connecting to a git host account via Add new integration panel

Connecting to a single git repository (HTTPS | SSH)

Setting up web links

Link git commits to Jira issues (Basics)

Using smart commits

Using the Repository Browser

Creating branches and pull/merge requests (this page)

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