Creating branch from Jira with custom pattern?

Hi,

we are using Stash linked with JIRA since a couple of days. Every time when we create a branch (link "Create branch" in Jira) a branch is created with the name "feature/issue key + issue description". What we want is only the issue key as branch name e.g. feature/JRA-4355

Is it possible to customize this pattern in a Stash configuration file?

Thank you!

1 answer

This widget could not be displayed.

Hi Mathias,

That's how it is supposed to be by default.

This is created as a suggestion. As documented, you can always edit that.

Best regards,
Thiago Bomfim
Atlassian Support - DevTools

Hi Thiago, yes, that's right. I can edit this value. But I want to have it as Default without issue description (e .g. to avoid that a developer forget to remove the desciption). Thanks!

I had the same question - it would be good to be able to change the default branch-naming suggestion, because if you use a different branch naming policy, developers will have to manually change the suggestion each time.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,354 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you