I have added the Git Integration for Jira App from the marketplace. However when I try creating a branch, it selects master by default and has a XYZ-issue-name as the default branch name.
Is there a way to customize this behaviour such that.
I spent hours looking for a way to configure this, but to no avail.
Any help around this would be appreciated much.
Thank you
For Jira Cloud - this feature is pending.
For Jira Server/Data Center - we have the following global setting in the General settings page:
Hi @Adam Wride is this feature still pending or is it implemented? Our organization has naming conventions for branch names, and it would increase productivity if we can copy the branch name and commit message format directly from Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @jamesmortensen - thanks for reaching out. Indeed - this is available on Cloud now.
You will need to install Git Integration for Jira Cloud and (once you have your git repos connected) then go the General settings and adjust the branch name template as needed.
If you have any trouble - contact us at support@gitkraken.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition, I'd love to customize the `issue-key` placeholder.
To remove the hyphen from `abc-123` making it `abc123`
My CI/CD tools don't like the hyphen in here....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would be useful if we could choose from all fields to add as branch name format
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Duran , I also wanted more customization of the branch name templates than what the Jira Development panel offers. To that end, I created a Jira Cloud app that lets you copy a customized template of text by clicking a button that appears on an issue view.
You can use the app to, for example, copy a custom template of text where the project name and issue key are not separated by a dash e.g. `abc123` (instead of `abc-123`).
Here's a screenshot showing how the app renders on the Issue view and the buttons you can click to copy your custom templated text to your clipboard:
For your use case, you could use the `$PROJECT_KEY_PLACEHOLDER` and `$ISSUE_NUMBER_PLACEHOLDER` to create a template that generates your desired text of `abc123` (pretending that the project key was `abc` and the current issue number was `123`):
The app is called Copy Issue Link and you can find it here: https://marketplace.atlassian.com/1225783
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.