1. Home
  2. Blog
  3. Software Testing

Software Testing

Bug Life Cycle in Software Testing: Every Status, Who Owns It and Common Mistakes

From the moment a tester finds a defect to the moment it is verified and closed, a bug passes through a series of statuses. Learn what each one means, who is responsible at each step, and how to keep the process from becoming paperwork.

10 min read
Bug life cycle in software testing: every status, who owns it and common mistakes

Key takeaways

  • The bug life cycle, or defect life cycle, is the set of statuses a defect moves through from discovery to closure.
  • The core path is New → Assigned → Open → Fixed → Retest → Verified → Closed.
  • Side paths handle bugs that are rejected, duplicated, deferred or that come back as Reopened.
  • Exact names vary by team and tool. Clear ownership at each step matters more than the number of statuses.

A tester finds that the checkout total is wrong when a coupon and free shipping apply together. Without a shared process, that finding might live in a chat message, get fixed by someone, never get rechecked, and reappear in production a month later. The bug life cycle is the agreed path that makes sure every defect is recorded, decided on, fixed, verified and closed, with someone clearly responsible at each step.

This is a process guide, so it contains no code. The statuses below are the common ones used across the industry; your team’s tool may name them differently.

What is the bug life cycle?

The bug life cycle is the sequence of states a defect passes through in a tracking tool such as Jira, Azure DevOps, Linear or GitHub Issues. Each state answers one question: what is happening to this bug right now, and whose turn is it? It is narrower than the software testing life cycle (STLC), which covers the whole testing effort from planning to closure.

The main flow

New ──► Assigned ──► Open ──► Fixed ──► Retest ──► Verified ──► Closed
 │                                         │
 ├─► Rejected                              └─► Reopened ──► Assigned
 ├─► Duplicate
 └─► Deferred

The happy path runs left to right. The branches handle the many cases where a report turns out not to need a fix, needs to wait, or was not actually fixed.

Every status explained

Status Meaning Usually owned by
New Logged, not yet reviewed Reporter (often a tester)
Assigned Accepted and given to a developer Lead or triage group
Open / In Progress A developer is analysing or fixing it Developer
Fixed / Resolved A code change is ready, usually merged Developer
Pending Retest The fix is deployed to a test environment Release or DevOps process
Retest A tester is checking the fix Tester
Verified The fix works as expected Tester
Closed Done, nothing further needed Tester or lead

New

The bug has been reported with a title, steps to reproduce, expected and actual results, environment details and evidence such as screenshots or logs. Quality here decides how fast everything else moves. Our guide on how to write a bug report covers what to include.

Assigned and Open

After triage, someone accepts the bug and assigns it. The developer then opens it, reproduces it, finds the cause and works on the fix. If the developer cannot reproduce it, the bug goes back to the reporter for more information rather than sitting silently.

Fixed

The developer has changed the code, ideally adding an automated test that would have caught the bug, and marked it fixed. “Fixed” is a developer’s claim, not yet a confirmed fact. That is why the next steps exist.

Retest, Verified and Closed

Once the fix reaches a test environment, a tester repeats the original steps and checks related areas, since fixes often touch nearby behaviour. If it works, the bug is verified and closed. Some teams close straight from Retest; others keep Verified separate so that closing can wait until the fix ships to production.

Side paths

Status When it is used
Rejected / Not a bug The behaviour is correct, matches the requirements, or was caused by misuse or a bad environment
Duplicate The same problem is already reported; link to the original
Deferred / Postponed Real, but will be fixed in a later release
Cannot reproduce Nobody can make it happen with the information given
Need more information Back with the reporter for details
Won’t fix Real, but the cost of fixing is higher than its impact
Reopened The fix did not work, or the bug returned

Every rejection or “won’t fix” should include a short reason. “Works as designed, see requirement 4.2” helps the reporter learn and prevents the same bug being filed again next week. If testers disagree with a rejection, the conversation should involve whoever owns the requirement, not just tester and developer.

Who owns each step

  • Tester or reporter: logs a clear, reproducible report, retests fixes, verifies and closes, and reopens with evidence if needed.
  • Triage group: often a lead, product owner and senior developer, who decides validity, severity and priority, and assignment.
  • Developer: reproduces, finds the root cause, fixes, adds a regression test and explains the change.
  • Product owner: decides what is a bug versus a change in requirements, and approves deferrals.

The single most useful rule: every open bug has exactly one assignee at every moment. A bug “with the team” is a bug with nobody.

A worked example

  1. New: a tester reports “Order total ignores free shipping when a 10% coupon is applied”, with steps, a screenshot and the test account used.
  2. Triage: confirmed as valid. Severity is major, since customers are overcharged; priority is high. Assigned to the checkout developer.
  3. Open: the developer reproduces it and finds that the coupon calculation runs after the shipping rule and overwrites it.
  4. Fixed: the order of operations is corrected and a unit test is added covering coupon plus free shipping. The change is merged.
  5. Retest: after deployment to staging, the tester repeats the steps, then checks coupons without free shipping and free shipping without coupons.
  6. Reopened: the total is now right on the cart page but still wrong in the confirmation email, which uses a separate calculation. The tester reopens with evidence.
  7. Fixed again: the developer moves both screens to one shared calculation.
  8. Verified and Closed: both pages are correct, and the new test is part of the regression suite.

The reopen in step 6 is normal. It shows why verification by someone other than the developer catches problems that a single passing check would miss.

Triage: the step that makes or breaks the cycle

Triage is where new bugs are reviewed, usually in a short regular meeting or asynchronously. For each bug, decide: Is it valid? Is it a duplicate? How severe is it, and how urgent? Who owns it, and in which release will it be fixed? Without triage, bugs pile up in “New”, and the backlog becomes a list nobody trusts. A healthy rule is that no bug stays in New for more than a working day or two.

Tip: Agree on a “definition of fixed”: for example, a code change merged, a regression test added and the fix deployed to the test environment. A shared definition stops bugs bouncing between Fixed and Reopened because people meant different things.

Reopened bugs

A bug is reopened when the fix did not work, only fixed part of the problem, or the bug came back later. Reopen the original bug if it is the same problem, so the history stays in one place. If the retest reveals a different problem, log a new bug and link it. A high reopen rate usually points to fixes made without reproducing the bug first, missing regression tests, or unclear acceptance criteria. Bugs that come back intermittently may be timing problems, which our guide to flaky tests discusses.

The bug life cycle in Jira and other tools

Most trackers come with a default workflow, such as To Do, In Progress and Done, which is too simple for defects. Teams usually add a few statuses, such as In Review, Ready for QA and Reopened, and use resolution fields like “Duplicate” or “Won’t Do” rather than separate statuses for every outcome. Automation can help: moving a bug to Ready for QA when the linked pull request merges, or alerting when a critical bug has had no update for a day.

Designing your own workflow

  • Keep it short. Every status must answer “whose turn is it?”. If two statuses have the same owner and next action, merge them.
  • Make transitions clear. Document who can move a bug from each status, and what must be true first.
  • Require reasons for Rejected, Won’t Fix and Deferred.
  • Review deferred bugs each release, or they become permanent.
  • Close the loop with the reporter, especially for bugs reported by customers or support.

Useful metrics

Metric What it tells you
Open bugs by severity Current risk
Time in each status Where bugs get stuck
Time to fix critical bugs Responsiveness where it matters
Reopen rate Quality of fixes and verification
Rejected rate Quality of reports or clarity of requirements
Escaped defects Bugs found in production that testing missed

Use these to improve the process, not to rank individuals. Counting bugs found per tester, or bugs caused per developer, quickly encourages people to game the numbers.

Final thoughts

The bug life cycle is simply an agreement about what happens to a defect and who is responsible next. Keep the statuses few and meaningful, triage quickly, require independent verification, and give a reason whenever a bug is not fixed. Done well, it turns bug tracking from a list of complaints into a reliable path from problem to fix.

Frequently asked questions

What is the bug life cycle?

It is the set of statuses a defect moves through, typically New, Assigned, Open, Fixed, Retest, Verified and Closed, with side paths such as Rejected, Duplicate, Deferred and Reopened.

What is the difference between bug life cycle and STLC?

The bug life cycle tracks a single defect from report to closure. The software testing life cycle covers the whole testing process, from planning and design to execution and closure.

When is a bug reopened?

When retesting shows the fix did not work, only partly worked, or the same bug returns later. A different problem found during retesting should be logged as a new bug.

What does deferred mean for a bug?

The bug is valid but will be fixed in a later release, usually because it is low priority or risky to change now. Deferred bugs should be reviewed every release.

Who closes a bug?

Usually the tester who verified the fix, or a lead. Closing after independent verification confirms the fix works, rather than relying on the developer’s report alone.

Keep learning

Work with Stack Quora

Need help with testing, WordPress or SEO?

We help teams ship better software and grow their sites. Tell us what you are working on and we will suggest a clear next step.

Keep reading

More guides on testing, AI & modern development

Enjoyed this article? Pick a topic and jump straight into our newest tutorials.

Artificial Intelligence

LLM Structured Output Explained: Getting Reliable JSON From AI Models

LLM structured output explained with validation we ran in Pydantic: JSON mode and schemas, constrained decoding, the ways model output…

Read article →
DevOps

SSH Keys Explained: How They Work, ssh-keygen, Ed25519 and Safe Habits

SSH keys explained with keys we generated: public vs private keys, ssh-keygen, Ed25519 vs RSA, fingerprints, passphrases, ssh-agent, authorized_keys, config…

Read article →
DevOps

HTTP Caching Explained: Cache-Control, ETag and 304 Responses, With a Live Test

HTTP caching explained with a small server we ran: Cache-Control directives, max-age, no-cache vs no-store, ETag revalidation and 304 responses,…

Read article →
Test Automation

API Contract Testing Explained: Catch Breaking Changes Before They Ship

API contract testing explained with a schema check we ran: what a contract is, consumer-driven contracts, Pact, OpenAPI, which changes…

Read article →
Software Testing

Risk-Based Testing Explained: Score Risks, Build a Matrix and Test What Matters

Risk-based testing explained step by step: identifying risks, scoring likelihood and impact, building a risk matrix, mapping risk to test…

Read article →
Databases & SQL

SQL Constraints Explained: NOT NULL, UNIQUE, CHECK and FOREIGN KEY, Tested

SQL constraints explained with tests we ran: NOT NULL, UNIQUE, CHECK, DEFAULT, PRIMARY and FOREIGN KEY, the NULL loopholes, SQLite's…

Read article →
Databases & SQL

SQL Date Functions Explained: Adding, Comparing and Grouping Dates Without Bugs

SQL date functions explained with queries we ran: adding intervals, month-end surprises, date differences, the BETWEEN trap, grouping by day,…

Read article →
Software Development

Python asyncio Explained: async, await, gather and TaskGroup With Real Timings

Python asyncio explained with code we timed: coroutines, await, gather, TaskGroup, error handling, timeouts, limiting concurrency and the blocking-call mistake…

Read article →
Software Development

Debounce vs Throttle in JavaScript: How They Work, When to Use Each, Tested

Debounce vs throttle in JavaScript explained with timings we measured in Node.js: how each works, simple implementations, leading and trailing…

Read article →
Software Development

Python Context Managers Explained: The with Statement, contextlib and Real Uses

Python context managers explained with code we ran: how with works, __enter__ and __exit__, contextlib.contextmanager, suppress, ExitStack, database transactions and…

Read article →
Artificial Intelligence

LLM Temperature and Top-p Explained: How AI Models Choose Their Next Word

LLM temperature and top-p explained with a simulation we ran: how probabilities are reshaped, what top-p keeps, recommended settings by…

Read article →
DevOps

YAML Explained: Syntax, the Norway Problem and Other Traps We Tested

YAML explained with a parser test: basic syntax, lists and maps, the Norway problem, versions turning into floats, octal zip…

Read article →
DevOps

Cron Jobs Explained: Syntax, Real Schedules and the Mistakes That Break Them

Cron jobs explained with schedules we verified: the five fields, operators, real examples, the day-of-month OR day-of-week trap, environment problems,…

Read article →
Software Testing

Bug Life Cycle in Software Testing: Every Status, Who Owns It and Common Mistakes

The bug life cycle explained: every defect status from New to Closed, who owns each step, rejected, deferred and reopened…

Read article →
Test Automation

Property-Based Testing in Python: Hypothesis Finds the Bugs Your Examples Miss

Property-based testing explained with Hypothesis tests we ran: properties vs examples, strategies, shrinking, the real bugs it found in our…

Read article →
Databases & SQL

SQL Pagination Explained: OFFSET vs Keyset, With a Million-Row Test

SQL pagination explained with a million-row test we ran: LIMIT and OFFSET, why deep pages get slow, keyset (cursor) pagination,…

Read article →
Databases & SQL

SQL EXISTS vs IN: Differences, the NOT IN NULL Trap and Performance

SQL EXISTS vs IN explained with queries we ran: how each works, why NOT IN returns no rows when a…

Read article →
Software Development

Python Logging Explained: Levels, Handlers, Formatters and Mistakes to Avoid

Python logging explained with code we ran: levels, basicConfig quirks, named loggers, handlers and formatters, logger.exception, lazy formatting, duplicate logs…

Read article →
Software Development

JavaScript Map vs Object: Key Differences, Pitfalls and a Benchmark

JavaScript Map vs Object explained with code we ran in Node.js: key types, ordering, the prototype trap, JSON, size, WeakMap…

Read article →
Software Development

Python Type Hints Explained: Annotations, mypy and the Errors It Catches

Python type hints explained with a real mypy run: basic annotations, Optional and unions, TypedDict, Literal, Protocol, generics, Callable, strict…

Read article →
Artificial Intelligence

LLM Tokens Explained: How AI Models Read Text, Count Costs and Fill Context Windows

LLM tokens explained with a tokenizer we ran: how text is split, why counts differ by language and tokenizer, context…

Read article →
DevOps

Semantic Versioning Explained: MAJOR.MINOR.PATCH, Ranges and Release Rules

Semantic versioning explained with code we ran: MAJOR.MINOR.PATCH rules, pre-releases, correct version sorting, caret and tilde ranges, 0.x versions, lockfiles…

Read article →
DevOps

Git Reset vs Revert: How to Undo Commits Safely, With a Tested Example

Git reset vs revert explained with a repository we built: soft, mixed and hard reset, revert commits, reverting merges, recovering…

Read article →
Software Testing

The Test Pyramid Explained: Layers, Ratios and When to Break the Shape

The test pyramid explained: unit, integration and end-to-end layers, sensible ratios, the ice cream cone anti-pattern, the testing trophy and…

Read article →
Test Automation

pytest Fixtures Explained: Scope, yield Teardown, conftest.py and Factories

pytest fixtures explained with a suite we ran: how fixtures work, scopes, yield teardown, conftest.py, factory fixtures, parametrized fixtures, built-ins…

Read article →
Databases & SQL

SQL Upsert Explained: INSERT ON CONFLICT, MERGE and the REPLACE Trap

SQL upsert explained with queries we ran: INSERT ON CONFLICT DO UPDATE and DO NOTHING, the excluded row, conditional updates,…

Read article →
Databases & SQL

SQL LIKE Operator Explained: Wildcards, Case Sensitivity and Performance

The SQL LIKE operator explained with queries we ran: % and _ wildcards, escaping, NOT LIKE and NULL, case sensitivity…

Read article →
Artificial Intelligence

AI Hallucinations Explained: Why Language Models Make Things Up and How to Reduce It

AI hallucinations explained: what they are, why language models produce them, common types, how to reduce them with grounding and…

Read article →
Test Automation

Mocking in Python: unittest.mock, patch and the Mistakes That Make Tests Lie

Mocking in Python with unittest.mock, tested: Mock and return_value, side_effect, patching where a name is used, spec and autospec, mocking…

Read article →
Software Testing

Code Coverage Explained: Line vs Branch Coverage and What 100% Really Means

Code coverage explained with a real coverage.py run: line, branch and condition coverage, reading a report, why 100% coverage can…

Read article →
Artificial Intelligence

What Are AI Agents? How They Work, With a Simple Agent Loop You Can Run

What are AI agents? A plain guide to the agent loop, tools, memory and guardrails, with a small Python loop…

Read article →
Test Automation

TDD vs BDD: Key Differences, One Feature Built Both Ways and When to Use Each

TDD vs BDD explained with one discount feature built both ways: red-green-refactor with code we ran, Given-When-Then scenarios, tools, trade-offs…

Read article →
Software Testing

User Acceptance Testing (UAT): Process, Checklist and Real Examples

User acceptance testing explained: who runs it, how it differs from QA, a seven-step process, a UAT test case template,…

Read article →
Artificial Intelligence

What Are Embeddings? Vectors and Cosine Similarity Explained Simply

What are embeddings? A plain-language guide to vectors, cosine similarity and semantic search, with a small example we ran, common…

Read article →
Test Automation

Flaky Tests: What Causes Them and How to Fix Them for Good

Flaky tests explained with demos we ran: the main causes, how to confirm and diagnose one, proper fixes for timing,…

Read article →
Software Testing

Load Testing vs Stress Testing: Differences, Metrics and k6 Examples

Load testing vs stress testing explained: what each proves, spike and soak tests, the metrics that matter, why averages mislead,…

Read article →