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

0 votes

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 Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

403 views 5 9
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