TL;DR: The defect life cycle is the set of states a bug moves through: usually New, Assigned, Open, Fixed, Retest, Verified and Closed, plus the side states Rejected, Duplicate, Deferred and Reopened. Each transition needs an owner and an exit rule: no Fixed without a linked commit, and no Closed without retest evidence. Loose states are expensive. NIST estimated that inadequate software testing cost the US economy $59.5 billion a year (NIST, 2002). ContextQA, the autonomous quality engineer, can reproduce a reported bug and rerun that reproduction at retest.
When teams don't define bug states, the same bugs go back and forth between dev and QA, "Fixed" tickets never get retested, and nobody trusts the release status. This guide includes a state flow, a Jira and Linear mapping, a bug report checklist and rules that stop the back and forth.
Quick answers
What are the stages of the defect life cycle? A defect usually moves through New, Assigned, Open, Fixed, Retest, Verified and Closed. Side states cover the exceptions: Rejected (not a bug or works as designed), Duplicate (already reported), Deferred (real but scheduled for a later release) and Reopened (the retest failed or the bug came back). Most teams keep these states in Jira or Linear and limit who can move a ticket from one state to the next.
Who should be allowed to move a bug to Fixed or Closed? The developer who owns the bug moves it to Fixed, and that change should link a commit, pull request or build. The tester or reporter moves it to Verified or Closed only after rerunning the original reproduction on the fixing build and attaching the evidence. Two rules stop most bouncing: no Fixed without a linked commit, and no Closed without retest evidence.
When should a closed bug be reopened instead of filed as a new defect? Reopen the bug when the original reproduction steps fail again on the same feature and environment, because the first fix was incomplete or got reverted. File a new defect and link it to the old one when the symptom, root cause, component or release is different. That keeps the reopen rate a reliable signal of fix quality instead of a catch all for related issues.
What is the defect life cycle?
The bug life cycle is the sequence of states a bug moves through, from the moment someone reports it until the team closes it. The usual path is New, Assigned, Open, Fixed, Retest, Verified and Closed. Side states cover reports that are Rejected, Duplicate or Deferred, and bugs that are Reopened because they failed retest.
Each state has an owner and an exit condition, so anyone reading the tracker knows who acts next and what evidence moves the bug forward. A bug marked Fixed with no linked commit, or Closed with no retest evidence, is a likely regression waiting to reach production.
Some teams say "defect" for a gap against a requirement and "bug" for a coding error. The states stay the same, so pick one term and use it in every ticket.
What can a defined bug workflow do?
A defined bug workflow gives every bug one owner, one current state and a clear exit condition at each step. It turns a loose list of complaints into something your team can measure: who holds the bug now, what evidence moves it forward, and which bugs are stalled, rejected or reopened before a release.
- Map the flow in one line. New → Assigned → Open → Fixed → Retest → Verified → Closed. Side exits branch from triage (Rejected, Duplicate, Deferred), and a failed Retest loops to Reopened.
- Assign an owner per state. Testers file New bugs and run Retest. The QA lead assigns, rejects or marks duplicates. Developers move Open to Fixed, and the product owner approves Deferred.
- Enforce evidence gates. No Fixed without a linked commit or pull request. No Closed without retest evidence from the build that contains the fix.
- Expose bottlenecks. Time spent in each state and reopen counts show where bugs bounce.

Why do bug states matter in 2026?
A bug that bounces between states with no owner keeps consuming developer and QA time and erodes trust in release status. Defined states settle who moves a bug, when, and on what evidence. The CISQ 2022 report put the cost of poor software quality in the US at about $2.41 trillion.
Two decisions do most of the work. The first is triage. Severity is the technical impact, and priority is the order in which the business wants a fix. Keep them in separate fields so a cosmetic bug on the checkout page can still go first.
The second is tooling. In Jira, create a status for each state and add transitions with validators, for example "Fixed requires a linked commit" and "Closed requires a retest result." Add custom fields for build, environment and severity. Validators enforce the rules on every ticket, so nobody has to remember them.
How does a bug move from New to Closed?
A bug moves through its states in a fixed order. A tester logs it, a lead triages and assigns it, a developer fixes it against a commit, and QA retests it on a new build before closing it. Each handoff has an entry condition, so a bug never changes state just because someone says so.
- Log (New). The reporter records the reproduction steps, expected and actual results, build, environment, and evidence such as screenshots and console logs. Incomplete reports go back to the reporter.
- Triage (Assigned, Rejected, Duplicate or Deferred). A lead sets severity and priority, checks for duplicates, then assigns an owner or marks the bug Rejected, Duplicate or Deferred.
- Fix (Open, then Fixed). The developer fixes the bug and links the commit or pull request. A bug cannot move to Fixed without that link.
- Retest (Verified or Reopened). QA reruns the original reproduction on the fixed build. In ContextQA, you can rerun the test case that `reproduce_from_ticket` created to get the same retest each time, with fresh execution evidence.
- Close. A bug moves to Closed only when the retest evidence is attached to the ticket.
Scrum teams finish this loop inside the sprint. Waterfall teams batch defects into a test phase.
Which approach fits your team best?
Most teams fit one of three approaches. Small product teams can use a lean Linear or Jira workflow. Multi team or audited organizations need the full set of states, with Retest and Verified gates. Teams that get many support tickets can add automated reproduction, so the evidence exists before triage starts.
| Approach | Best for | Setup effort | Notable tradeoff |
|---|---|---|---|
| Lean workflow (Todo, In Progress, Done, Canceled) | One team shipping daily | Low, default states | Retest hides inside Done |
| Full life cycle with Retest and Verified gates | Several teams, audits, release sign off | Medium, workflow rules | More handoffs per bug |
| Full life cycle plus automated reproduction | High ticket volume, "cannot reproduce" loops | Medium, MCP and ALM connection | A reviewer still checks evidence |
Judge whichever approach you pick by four metrics: defect density (defects per module), defect leakage (bugs found after release compared with before it), mean time to resolve, and defect aging (days a bug sits in each state).
Our recommendation: start with the full set of states, and automate reproduction once "cannot reproduce" becomes your most common reason for reopening bugs.
How does ContextQA handle bug reproduction and retest?
ContextQA covers two points in the bug workflow: the jump from New to Assigned, and the Retest step before Verified. Through the ContextQA MCP server, your AI assistant turns a reported bug into a reproduction test, checks the evidence, and files a structured ticket in Jira or Azure DevOps. The same test then becomes your retest.
Here is the workflow from Claude Code, Cursor or Codex, based on the reproduce a bug from a ticket guide:
- Give the assistant the ticket text and a staging URL.
reproduce_from_ticketcreates a test case from the reported steps and runs it. - Run
investigate_failureto check whether the run reached the reported step. A timeout or login failure counts as blocked, not reproduced. - If the evidence matches the report, run
create_defect_ticketwith theexecution_idandproject_id. Addget_root_causefor a likely root cause, labeled as a hypothesis, separate from what you observed. - After the fix lands, rerun the reproduction test. That run is your retest evidence.
If you track bugs in Jira, the Jira integration syncs execution status both ways, so the rerun result shows up on the issue.
If bugs keep bouncing between Fixed and Reopened because nobody can reproduce them, book a demo to see ContextQA reproduce reported defects and rerun them for retest.

What should you do now? A checklist
Start by writing down your bug workflow. List the stages (New, Assigned, Open, Fixed, Retest, Verified, Closed, plus Rejected, Duplicate, Deferred and Reopened), who moves each one, and the evidence each exit needs. Then set up your tracker to enforce it, so the documented process and the real one stay the same.
- Publish a one page state table with an owner, entry condition and exit condition for each state.
- Map each state to a Jira or Linear status, and remove statuses nobody uses.
- Require steps, expected and actual result, build, environment and evidence at creation.
- Block Fixed unless a commit or pull request is linked.
- Block Closed unless retest evidence is attached, such as a run ID, log or screenshot.
- Require a reason for Rejected and a link to the original issue for Duplicate.
- Give every Deferred bug a target release.
- Review each team's reopen count every sprint.
Bottom line
A bug workflow works only when every state has an owner, an entry condition and an exit condition your tracker enforces. Map New through Closed to Jira or Linear, then add two rules: no Fixed without a linked commit, and no Closed without retest evidence. Treat it as one stage of the 7 phases of the software development life cycle, not a separate QA ritual.
Sources
The statistics above are national US estimates of the cost of poor software quality, not figures for any single team or pipeline. The ContextQA steps follow the linked product documentation.