Git service (GitHub example)
Associate branches to a Jira issue by inserting the Jira issue key to the branch name when creating them.
Create a branch and associate it to a Jira issue:
-
Select the master branch dropdown.
-
Enter a new branch name on the search box. Mention a Jira issue key in the name to associate it to the said Jira issue.
-
Click the result to create the new branch.
Git Integration for Jira app
This can also be easily done via Jira issue Git integration developer panel:
-
Open a Jira issue.
-
On the right sidebar, click on Git Integration. This opens the Jira issue Git integration developer panel.
-
Click Create branch.
-
Select a repository.
-
Select the Source branch to use as base.
-
The Branch name is automatically generated populated from the issue summary with inserted Jira issue key.
-
Edit the proposed name but leave the Jira issue key as is or… accept the generated branch name as it is.