Git Flow JIRA Branch

I was just about to create my first feature branch with Git Flow. I want to attach the feature branch with a user story (although a story can have more than one feature).

So, this is a bit about how it can be confusing.

First there is a create branch in jira (on an issue, under the Development section, there is 'create branch') doing so gives a branch name "JIRA-12 User Feature"

Then, there is Gitflow. In SourceTree I say: GitFlow -> Create Feature Branch and it asks me for a branch name with the 'feature' prefix. So, it I will type it in: "feature/JIRA-12 User Feature"

But, you can't create a feature as a subtask of the User story. So, it's only tied to the Epic.

The only thing I can do is create a link.

This really isn't the question. Here's the question:

Should I use JIRA to do 'create branch' or should I use SourceTree to 'create feature branch'?

And, if I use SourceTree, how do I make sure that the 'link' is established (as it implies in the documentation)? Again, the documentation say "it can be done", but stops at the point of telling you how to do it.

Why is Atlassian so afraid to say: "Do it this way?". If someone disagrees, then they don't have to do it that way.

1 answer

This widget could not be displayed.

I don't know much about linking with Jira, but git flow is an optional git workflow. If it doesn't work with your personal/corporate workflow, don't use it. Creating a branch in SourceTree with the Branch button is only slightly more work.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

128 views 2 0
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