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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

25,194 views 26 12
Join discussion

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