How to customize the branch name in Git based on the branch type selection?

haseena banu August 14, 2018

I want to populate the branch name in git automatically.

1.if branch type is release then the branch name should be in the form of (release version+issue key+summary). 

2. For Feature branch type, branch name should be in the form of (Issue Key+summary)

where should I customize the branch name in JIRA?

1 answer

0 votes
David Muller October 13, 2024

Hi @haseena banu , I've also wanted a way to create a custom template for git branch names that support substituting, for example, the issue key and summary in a template like `IssueKey/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`IssueKey/summary`:

Screenshot 2024-09-16 at 8.03.44 PM.png

Clicking the above button would copy text like `proj-1/fix-bug-in-app` to your clipboard. You can include issue data like the issue key, issue summary, issue assignee, current user, etc. and define a custom template to control exactly how the text is copied.

The app is called Copy Issue Link and you can find it here: https://marketplace.atlassian.com/1225783 

Suggest an answer

Log in or Sign up to answer