Skip to content

“Investigate and fix” is not an instruction

A vague bug report hands the developer your job as well as theirs. The structure I use so the fix that comes back solves the problem I actually saw.

Updated 3 min read
“Investigate and fix” is not an instruction. Drawing of a bug under a magnifying glass on a ticket.

Learning how to write a bug report changed how I work with engineers more than I expected. The worst report I can write is a vague one: “this is broken, please investigate and fix”. It feels like delegation. In practice it hands the developer my job as well as theirs, and the fix that comes back often solves a slightly different problem.

Here’s the structure I use now, for GitHub issues and for anything I hand to engineering.

Reproduce it first

I try to reproduce it first. If I can’t, I can still report strong evidence, but I label it as not reproduced and explain what remains unknown. I reproduce on a clean setup where I can, then add things back one at a time: the theme, the other plugins, the cache, a different browser. Changing one variable at a time is slow, and it’s the only way to know what actually causes the problem.

This step also answers the most important question early: is this even our product? A surprising number of reports turn out to be another plugin, a theme setting, a CDN or the server. When that’s the case, I say so plainly and name the real source. Burying it in a technical explanation just means someone investigates the wrong code.

The parts every report needs

  • What happens. The actual behaviour, in one or two sentences.
  • What should happen. The expected behaviour, and where that expectation comes from: the docs, the settings label, the previous version.
  • Steps to reproduce. Numbered, starting from a state anyone can get to. Include versions of the product, WordPress or Shopify theme, PHP, and browser where they matter.
  • Evidence. The error message, the log line, the request that fails. A screenshot only if it proves something.

The parts that make it actionable

This is where most reports stop, and where the good ones keep going:

  • What I think causes it, and why. If I’ve traced it to the code, I point at the exact file and line. If I’m guessing, I say it’s a guess.
  • What must not change. The behaviour around the bug that other people depend on. This is what stops a fix from turning into a regression.
  • The fix I’d suggest, if I have one. The developer can disagree. At least we start from something concrete.
  • How to test it. The specific cases to check after the fix, including the ones next to the bug.

Put together, a good report reads almost like a recipe: reproduce this, here’s why it happens, keep that working, change this, test these, and check that nothing else broke.

What to leave out

The story of how the customer found it, a paragraph on why this matters, a section arguing it’s a bug and not a feature request. Engineers read an issue to act on it, not to be convinced it deserves to exist. That context belongs in the support thread.

And never paste credentials, license keys or customer details into an issue. I check screenshots for them too, because that’s where they slip through.

Why this matters for product managers

A bug report is a small spec. If you can write one that a developer can act on without a single follow-up question, you can write a PRD, and the habits are the same. I wrote about the bigger version in how to write a PRD engineers actually read, and about deciding which bugs matter most in the loudest ticket is rarely the biggest problem.

Let’s talk about a product problem.

Email is the fastest route. I answer everything that’s a real question.