How do you assign a bug to a specific feature ticket?

Sławomir Jałoszyński
Contributor
December 2, 2024

As part of a sprint, the team works on creating a new functionality.

During QA of this functionality, we detect a bug (dev, stage). I want to link this bug to a specific story within which the functionality was created.

The purpose of such a connection is to verify how many times the same improvement is fixed by different teams. To sum up, I would like to compare the story original estimate with the time that was spent on fixing bugs for this story.

I use the Tempo add-on to measure time. I also use issue type bug primarily to handle tickets on production versions where the environment, version, etc. are specified.

Of course, I also use the "linked issues" option.

What are the best practices in such a case?

Should I create a new subtask type, for example, called "bug-dev" and filter all such events by the issue type? As a result, each bug will be a subtask to a story in a new category.

1 answer

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2024

You might wanna consider the following scenario given your requirements to compare effort spent on bugs versus effort spent on the feature.

  1. If, and when a bug is first found associated with a feature, create a "feature – bugs" issue, e.g. summary = "Feature ABC-123 - Bugs", and link that issue to the original feature. Also create a subtask for the first bug that is recorded.
  2. The development team should record the time they spend on the bug sub-task.
  3. Each subsequent bug would be added as a subtask to the feature-bug issue.
  4. you can use automation to sum up the total time logged for each bug subtask, when the bug issue is marked done, and record it in the parent feature-bug issue.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events