Hi all,
I was wondering if anyone had an ideal way for using branches based on a hierarchy. We currently have 2 options (but more are welcomed) to go through and we would like to know if there is some sort of standard or preferred way of doing so.
Scenario 1:
Under each Epic, we have stories and for each story, we create a new branch. Within each story, we can use sub-tasks as the main tasks where all tasks will also have their own feature branch and PR. All task branches are merged into the story branch to keep track of file changes, conflicts and a final review of the story.
Scenario 2:
Again, under each Epic we have stories. Tasks are also created (not sub-tasks this time) which are linked to the story (since Epic > Story > Sub-task instead of Epic > Story > Task > Sub-task). The story branch is just 1 PR where each commit will have an issue key to link to the tasks.
Thanks for your answer. I do understand the JIRA issue hierarchy but I've seen it noted on issue requests and other areas where "Epic > Story > Task > Sub-task" seems to be more logical which is why I used it in my scenario above.
The second scenario uses both stories and tasks where tasks are linked to the stories so that we can use the "Epic > Story > Task > Sub-task" hierarchy. However, it's not very fun to do since linking tasks with stories needs to be done manually whereas in scenario one, we use sub-tasks on stories which are automatically linked.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get the most out of Jira
Explore the interface and basic Jira terms, then discover how to effectively manage your work.
Learning Path
Atlassian tools and practices for developers
Focus on your development work by using Jira software features and functions efficiently.
Atlassian Certified Associate
Jira Software Essentials certification
Demonstrate proficiency in utilizing essential Jira features and working efficiently with Agile frameworks like Kanban and Scrum.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.