Configure Jira and Bitbucket Branching Model To GitFlow

I try to use Atlassian products across all development process. I chose GitFlow as a working flow on SourceTree, and aim to streamline it via Jira and Bitbucket as well.

Few things I would like to understand:

  1. Is there a way to configure the behavior of "create branch" on Jira to identify features/hotfixes/bugfixes and tell Bitbucket to open branches accordingly? (ie for a feature called XXX-123, open branch feature/XXX-123 from develop branch). As far as I see, Bitbucket opens a branch called XXX-123, but from master.
  2. Is there a way to close a branch after the issue has been closed? I see "create branch" button on closed issues.

Thanks,

Gal

5 answers

1 accepted

This widget could not be displayed.

Opened a request on the SourceTree repo.

This widget could not be displayed.
Timothy Chin Community Champion Dec 14, 2013

Thanks for the sugestion... I know my way on git and this is not what I asked for. Since my team already use Jira and Bitbucket, and Atlassian offers integration between all its products, I wondered if there is a way to streamline development process, especially branching and merging, which is human error prone.

Timothy Chin Community Champion Dec 15, 2013

For item 1, if the integration only opens a branch in master, then I guess you're stuck with that. I know that if you use Stash, it allows you to choose which branch you want to create it on.

Thanks for that. I know stash supports it better than Bitbucket. If you look at the URL in Bitbucket, after you click the "create branch" on Jira, you can see it has "IssueType=Feature" in the query string, but Bitbucket ignore it.

I think it can be better if you define the Bitbucket repo to use GitFlow and use this info to create the equivalent branch.

This widget could not be displayed.

Unfortunately, this is an issue needs to be resolved by the dev team of Atlassian.

I will be waiting and meanwhile do things manualy.

This widget could not be displayed.

Unfortunately, this is an issue needs to be resolved by the dev team of Atlassian.

I will be waiting and meanwhile do things manualy.

This widget could not be displayed.

Unfortunately, this is an issue needs to be resolved by the dev team of Atlassian.

I will be waiting and meanwhile do things manualy.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

91 views 0 3
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