Bugfix requires multiple commits, how to track in Jira

In our branching strategy, depending on when a bug is fixed, it might require one, two or three merges. We don't want to close a bug until the fix is verified in all of the required branches.

One solution is to clone the Jira, one for each commit. Is that what most folks do, or am I missing a cleaner way to track this?

1 answer

1 accepted

I think there are several different possibilities here. When you say "verified" do you mean tested? Or just merged to that branch...

Where is the list of branches that each fix must go through defined...? Is that a decision on an issue by issue basis? Or can that be inferred from the branch naming convention that we had talked about before?

A better solution than cloning in my opinion would be to use a subtask per branch. You could add a trigger to the subtask workflow, so that it automatically gets moved into the right state when merged, eg "Ready for test". Then QA know what's on their todo list. Of course, just merging isn't the same as having a build ready for testing.

Do all changes eventually end up in master? If so maybe it's enough to add a condition/validator to your workflow that checks the fix is in master.

Yes, "Verified" means tested. I don't think we can infer from the branch name given our current branching strategy, its temporal, but I will check. I really like your subtask idea! Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

688 views 5 9
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