Creating branch from Jira with custom pattern?


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 Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

188 views 0 12
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