You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does anyone know if Jira-GitHub integration has any problems with a forward slash in GitHub branch names?
GitHub explicitly allows forward slash '/' in branch names, so that branches can be neatly grouped by their type, e.g., "dev/JRA-123", "bug/JRA-234".
Jira appears to work with such branches too! For example, on the ".../browse/JRA-123" page, under Development details, I can see the linked branch "dev/JRA-123" from GitHub.
Include the issue key in the branch name when you create the branch to link it to your Jira issue.
For example: git checkout -b JRA-123-
This works by default in connected Bitbucket, GitLab, GitHub, GitHub Enterprise, and Fisheye tools.
If you’re using Bitbucket Cloud, GitHub or GitLab, you can create a branch directly from your Jira issue. Under Development, select Create branch. If you create a branch this way, the issue key is automatically added to the name of the branch.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Does anyone know if Jira-GitHub integration has any problems with a forward slash in GitHub branch names?
GitHub explicitly allows forward slash '/' in branch names, so that branches can be neatly grouped by their type, e.g., "dev/JRA-123", "bug/JRA-234".
Jira appears to work with such branches too! For example, on the ".../browse/JRA-123" page, under Development details, I can see the linked branch "dev/JRA-123" from GitHub.
Unlike GitHub, however, Jira documentation does not mention forward slashes. It just says that the branch name needs to include the issue key for the integration to work. Here is a relevant excerpt from https://support.atlassian.com/jira-software-cloud/docs/reference-issues-in-your-development-work/ :
--
Branches
Include the issue key in the branch name when you create the branch to link it to your Jira issue.
For example: git checkout -b JRA-123-
This works by default in connected Bitbucket, GitLab, GitHub, GitHub Enterprise, and Fisheye tools.
If you’re using Bitbucket Cloud, GitHub or GitLab, you can create a branch directly from your Jira issue. Under Development, select Create branch. If you create a branch this way, the issue key is automatically added to the name of the branch.
--
Thank you!
P.S. also asked in Atlassian Community: https://community.atlassian.com/t5/Jira-questions/Has-anyone-tried-a-forward-slash-in-a-branch-name-e-g-quot-dev/qaq-p/2431919
Beta Was this translation helpful? Give feedback.
All reactions