Before using Jira, we established that the protocol for naming new branches (PRs) in GitHub would be assigneeInitials/thingBeingWorkedOnForThatPR
We would like to continue that format and be able to link the Jira issue to the Github repository but the CREATE BRANCH option makes a default link that we'd like to update to look similar to how we've been working. We would be good with: assigneeName/summary
How can our admin do this?
Hi, we got a similar problem here.
We are trying to use Issue number as a part of our internal naming protocol for git branches:
Feature-[Jira Project Tag][Issue number]
Bug-[Jira Project Tag][Issue number]
However, we can't find a way to configure the name for new branches when creating directly from Jira Issue Panel.
Is there a way to do that now or any plans to implement it? In almost every place I have been, they have their own branch naming conventions and the lack of this feature makes part of this integration useless.
Thanks.
How could this be done directly from the Jira Issue Panel with Github? My last information was that this is only possible with bitbucket. Has there been a change on this?
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, apologies I haven't tried it with GitHub but we tried with GitLab and we were forced to use predefined link by Jira. Anyway to customize the newly generated branches name now?
Kind regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @nxsm
haven´t used this feature for month. Just wanted to look for a solution. In my system I have github connected to Jira. When I click the "create branch" button in the development panel the dialog offers a button for more options.
There I am able to change the branch name (at least with several more options) --> see screenshots below:
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Stefan Salzl , but we cannot add new fields for the branch format?
Here we have the same issue.
we want to create our branchs like:
[AssigneeName]/[IssueKey]-[Issue Summary]
but, we can't add new fields on the screen you just shared.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Those fields/templates are provided by Jira and cannot be configured individually.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Samuel Grave Silva , I also wanted a way to use the assignee name in a branch template like `[AssigneeName]/[IssueKey]-[Issue Summary]`.
I created a Jira cloud app that allows you to copy a customized template of text by clicking a button that appears on the issue view. You can include issue data like the issue key, issue summary, issue assignee, current user, etc. You can share the template so that everyone can click a button and get the same formatted branch name.
I added another answer on this post that includes screenshots and describes how the app lets you configure a custom branch template that fits your team's needs.
The app is called Copy Issue Link and you can find it here: https://marketplace.atlassian.com/1225783
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't use Github, but I doubt that this is possible. Jira uses the Issue Key in the branch name to create the association between the Issue and the Branch. If you don't embed the Issue Key, there isn't any way for Jira to know how to maintain that association.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nicole Torres , I've also wanted a way to create a custom template for git branch names that support substituting, for example, the current assignee + issue summary in a template like `assigneeName/summary`.
I created a Jira Cloud app that allows you to copy a customized template of text by clicking a button that appears on the issue view. For example, you can create a custom button allows you copy a branch name to your clipboard that follows a template like `assigneeName/summary`:
Clicking the above button would copy text like `david-muller/fix-bug-in-app` to your clipboard. You can include issue data like the issue key, issue summary, issue assignee, current user, etc. :
You can also use modifiers to, for example, dynamically remove whitespace characters, get user initials, or lowercase text before you copy it. Everyone on your team can use the same branch name template so that everyone shares the same style.
The app is called Copy Issue Link and you can find it here: https://marketplace.atlassian.com/1225783
Check out the app, and let me know what you think. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.