A bug title names what broke and where, in one sentence, so that someone scanning a queue can tell it apart from every other bug in that part of the product. Write the area, then the failure as you saw it, then the condition that triggers it. Leave the fix, the urgency and the feelings out.
A bug title is read in a list, before anything else
Nobody reads a bug title on its own page. It is read in a queue, a search result, a notification or a release note, next to dozens of other titles, by somebody deciding whether to open it. The triager scans it to place the report. The developer scans it to pick work. The next person to hit the same fault searches for it, and either finds the existing report or files a second one.
That is why the field on our bug report template asks for “what broke and where, in one sentence” and says it is “what somebody scans to spot a duplicate”. Mozilla’s Bug Writing Guidelines, written for Bugzilla, put the same job in other words: “A good summary should quickly and uniquely identify a bug report.” Quickly is the reader in the queue. Uniquely is the reader looking for a duplicate.
A title does none of the report’s other work. It does not reproduce the bug, which is the job of the steps to reproduce, and it does not record the browser, the expected result or the evidence, which have their own fields. Most weak titles come from trying to make one line carry the whole report, or from carrying nothing at all.
The rule is area, failure, condition
Every good title in the examples below has the same three parts, usually in this order.
| Part | The question it answers | Example |
|---|---|---|
| Area | Where in the site or app? | Checkout |
| Failure | What did the reader see go wrong? | Place order stays disabled |
| Condition | What makes it happen, and separates it from its neighbours? | after a valid promo code is applied |
The area comes first because it sorts. A queue read top to bottom groups itself when every title opens with the page, feature or component, and a triager can see five checkout bugs together before reading any of them. A colon after the area keeps it visibly apart from the rest.
The failure is what was observed, in plain words: a button that stays disabled, a menu that does not open, a total that shows the wrong figure, a page that goes blank. It describes the symptom and stays away from the cause, because the cause is usually unknown when the report is filed, and a guessed cause in the title sends the developer to the wrong code.
The condition is the part most titles miss, and it is the part that makes a title unique. Checkout has many bugs. Checkout with a promo code has fewer. The condition can be an input, a browser, a screen size, a user role, a sequence of actions or a state of the data, whichever one the reporter knows the bug depends on.
How to write a bug title in four steps
- Write the rest of the report first. The steps, the expected result and the actual result tell you what the failure and the condition are.
- Name the area as the team names it: the page title, the feature name or the component on the design system, so the title matches what people search for.
- Describe the failure as you saw it, with the words on the screen where they help: the button label, the error message, the field name.
- Add the one condition that matters and read the title next to the other open bugs for that area. If it could be confused with one of them, the condition is missing or too broad.
On length, Mozilla’s guidelines ask for “approximately 10 words” and, in their outline of a report, a summary of “less than 60 characters”. The template’s own example runs to twelve words. Take the figure as a warning sign for a title that is turning into a description, and keep the condition even when it costs a few words.
Bug title examples from websites and web apps
Each row is a weak title of the kind reporters write, rewritten under the rule. The examples come from the sort of faults a website or web app review finds: forms, navigation, layout, content, accounts and data.
| Before | After | What changed |
|---|---|---|
| Checkout broken | Checkout: Place order stays disabled after a valid promo code is applied | Area kept, failure described, condition added |
| Menu not working on mobile | Header: Menu button does nothing on iPhone Safari in portrait | “Not working” replaced by what happens; the condition narrowed |
| Contact form issue | Contact form: Send shows success but no email reaches the inbox | The failure is the gap between what the page says and what happened |
| Images look weird | Product page: Gallery images stretch to full width below 768px | The visual fault named, with the breakpoint where it starts |
| Search is slow | Site search: Results take over ten seconds for queries with an apostrophe | A measurable symptom and the input that triggers it |
| Can’t log in!!! | Sign-in: Valid password rejected after a password reset on the same day | Feelings out, sequence of actions in |
| Fix the footer | Footer: Privacy link points to the old /privacy-policy URL and returns 404 | The request to fix replaced by the fault |
| Dashboard bug | Dashboard: Revenue chart shows last month’s figures after changing the date range | Which widget, what it shows, what triggers it |
| Upload fails | Media library: PNG upload over 10 MB fails with no error message | The input that triggers it and the missing feedback |
| Button colour wrong | Pricing page: Start trial button uses the grey disabled style while enabled | The visual fault stated against the design system |
| Cookie banner keeps appearing | Cookie banner: Reappears on every page after Reject all is chosen | The action that should have dismissed it |
| Text cut off | Blog post: Long headings overflow the card on the index at tablet width | Where, what, at which size |
| Export not right | Orders export: CSV puts dates in US format for a UK account | The output fault and the account setting it depends on |
| Admin can’t see users | Team settings: Members list is empty for admins invited after 1 October | The role and the data condition that separate it |
| URGENT homepage down | Homepage: Blank white page in Firefox, console shows an uncaught TypeError | Urgency out, browser in because it is the condition, the error noted |
A few of these carry a figure or a date inside the condition. That is fine when the figure is the condition, as with the 10 MB upload, because a developer will test exactly at that boundary.
Visual bugs need the element and the size
A visual bug is often specific to one viewport or one browser, so its condition is usually a width, a device or a rendering engine. Name the element the way the design calls it (“the pricing card”, “the primary button”), say what is wrong with it compared with the design, and give the size at which it starts. “Layout broken” tells the reader nothing about which of a hundred elements to look at.
Client and stakeholder reports need a second title
Feedback from a client or a stakeholder in a review round often arrives titled “Homepage feedback” or “Changes from Tuesday’s call”, with several points inside. That title describes a meeting. Each point becomes its own ticket with its own title under the rule, and the reviewer’s wording stays in the description, where it is kept as the record of what was asked.
What to leave out of a bug title
Most bad titles are bad because of something added to them. Each of these has a better home in the report.
- The fix. “Make the button blue” or “Add validation to the email field” is a request, and it settles the solution before anyone has looked at the cause. Mozilla’s guidelines ask the summary to explain “the problem, not your suggested solution”. Describe the fault, and put a suggestion in the notes if you have one.
- Urgency and severity. “Critical” belongs in the severity field. “URGENT” or a row of exclamation marks is a claim on priority, and the order of work is a decision made elsewhere, as argued in how to prioritise bugs. A title that shouts sorts no better and reads worse.
- Vague verbs. “Broken”, “not working”, “issue with” and “weird” name no failure. Replace each with what the reader saw.
- The environment, unless it is the condition. A reporter who saw the bug on one browser and has not tried another does not know whether the browser matters. The browser goes in the environment field, and it moves into the title only once the team knows the bug happens there alone.
- Prefixes and numbers. “Bug:”, “[QA]”, the reporter’s name and the ticket number are already shown by the tracker, and they push the area away from the start of the line, where a scanning reader looks for it.
- The steps. “Go to checkout, add code, click apply, nothing happens” is a list of steps squeezed into a line. Write the steps out as steps, and keep the title for the result.
- More than one bug. A title with “and” in it often holds two faults. Split them, because they will be fixed, tested and closed at different times.
A title is a draft until triage reads it
The first title is written by whoever found the bug, often in a hurry and sometimes by a client who has never seen the tracker. A triager who rewrites it before assigning the ticket is doing the job well. The reporter’s own words stay in the description, so nothing they said is lost.
Two habits keep titles useful after triage. Keep the title on the symptom even once the cause is known, because the next person to hit the fault will search for what they saw, and they never saw the cause. And when two reports turn out to be the same fault, keep the clearer title on the one that stays open and link the duplicate to it.
A report filed from the page itself needs less from its title. When a feedback widget attaches the page URL, the browser, the viewport and the console to the ticket, as evidence capture does in Notarus, the title does not have to carry any of them. It can stay short and stay on the failure, and the condition can be confirmed from the evidence before the triager settles the wording. Which evidence a failure needs, layer by layer, is covered in web application testing, and how to read an error message from the browser yourself is in how to inspect element.
The rule takes a few seconds to apply and pays for itself the first time somebody searches the tracker for a fault that is already there. A title that names the area, the failure and the condition gets found.