Requirements Traceability Matrix
The requirements traceability matrix (RTM) is a grid that links each requirement to its origin and to the deliverables that satisfy it. Each row holds one requirement and its identifier. The columns name the business need it comes from, then its deliverable in the work breakdown structure (WBS), its design, its build and its test case. Read row by row, the matrix shows a requirement that nothing delivers or tests. Read column by column, it shows an element that no requirement justifies. When a change request arrives, the team follows the links to identify what the change touches.
Goal
This definition comes from the PMBOK Guide, which lists the matrix among the project documents. A cell holds the identifier of the element linked to the requirement in its row.
The matrix links each requirement to the business objectives and to the project objectives. This link shows the business value of each requirement. The matrix tracks the requirements across the whole project life cycle so that the team delivers the approved requirements at the end. It also provides a structure for managing changes to the product scope.
The matrix is one form of requirements traceability. In 1994 Orlena Gotel and Anthony Finkelstein defined this traceability as the ability to describe and follow the life of a requirement forwards and backwards: from its origins through its development and specification to its deployment and use. They count the matrix, cross-references between documents and hypertext among the means of tracing requirements. The BABOK Guide treats traceability as a task of requirements life cycle management (Trace Requirements). In that task the business analyst documents the lineage of each requirement: its backward traceability, its forward traceability and its relationships with other requirements.
The analyst produces the matrix and keeps it up to date. The team uses it to check that the scope is covered before the user acceptance test (UAT) and to identify what a change request touches. The team also uses it to decide the fate of an element that no requirement justifies. The PMBOK Guide lists the matrix as an input to the Plan Sourcing Strategy, Manage Project Execution and Assess and Implement Changes processes of the Governance performance domain.
Usage
When to use it
- Audited or regulated work (medical device, safety-critical software): the matrix shows where each requirement is designed, built and tested.
- Contractual requirements specification: for each requirement the supplier shows the deliverable that satisfies it and the test that verifies it.
- Requirements drawn from the Federal Act on Data Protection (FADP) or from a standard: each cited article maps to the requirement that implements it.
- Several levels of requirements: each solution requirement traces back to the business need that justifies it.
- Preparing the user acceptance test (UAT): the test case column shows the requirements that nobody will verify.
- Change request on an approved scope: the links identify the deliverables, components and tests that the change touches.
- Requirements split across teams or releases: the matrix shows who delivers each requirement and in which release.
When not to use it
- Requirements without a stable identifier: the matrix would link labels that change. Specify and number the requirements first, for example by functional decomposition.
- Small agile product with no audit obligation: the links between story and test in the backlog tool are enough. The acceptance criteria of each story carry the verification.
Description
Backward and forward traceability
Backward traceability runs from the requirement back to its origin: a business need, a project objective, a law or a stakeholder's request. Forward traceability runs from the requirement to what realises it: the deliverable, the design, the component and the test case.
A single grid reads in both directions. Read from left to right, a row follows a requirement from its origin to the test. An element found in a column points along its row to the requirement that justifies it and then to that requirement's origin.
Gotel and Finkelstein separate what precedes the writing of the requirement (who asked for it, on what occasion, for what reason) from what follows it (build, deployment, use). They interviewed more than one hundred practitioners. Most of the problems these practitioners reported arise in the period before the requirement is specified. A matrix that starts at the written requirement shows nothing of this period. The origin column narrows this blind spot when it names an identified need. In the health insurer example, need B1 points to the project's business case. The Source attribute names the document, the session or the person that the requirement comes from. An origin recorded as "business" points to nothing.
What the matrix links
According to the PMBOK Guide, the elements that the matrix links to the requirements include:
- business needs, opportunities, goals and objectives;
- project objectives;
- project scope and WBS deliverables;
- product design;
- product development;
- test strategy and test scenarios;
- the detailed requirements that derive from a high-level requirement.
The team keeps only the columns that someone will read to make a decision. The PMBOK Guide template groups the rows: requirement 001 carries associated IDs numbered 1.0, 1.1, 1.2 and 1.2.1. The numbering shows how a high-level requirement breaks down into detailed requirements. The WBS column points to the codes of the work breakdown structure (WBS). The analyst uses it to check that each requirement has a deliverable in the tree. In the same way a matrix links each leaf of the value breakdown structure to the work packages that produce it.
The BABOK Guide names the relationship types that the analyst chooses to trace.
| Relationship | What it links | Example |
|---|---|---|
| Derive | A requirement to the higher-level requirement it derives from | Solution requirement E-04 derives from business need B2. |
| Depends | Two requirements, when one only makes sense with the other (necessity) or is easier to build with the other (effort) | Notification E-05 only makes sense if status E-03 exists. |
| Satisfy | An implementation element to the requirement it satisfies | Routing rule C-21 satisfies E-04. |
| Validate | A requirement to the test case that checks whether the solution fulfils it | Test case T-05 validates E-03. |
A spreadsheet matrix records satisfy and validate in its columns. It records derive in the origin column or in the row numbering. Dependencies need an extra column or a tool that links requirements to each other. According to the BABOK Guide, the analyst weighs the number of relationship types against the benefit they bring.
The attributes of each requirement
The PMBOK Guide lists the attributes that the matrix can record for each requirement.
| Attribute | Content | E-04 |
|---|---|---|
| Unique identifier | A value that never changes | E-04 |
| Description | The requirement in one sentence | A reimbursement claim over CHF 1'000 enters a claims handler's review queue. |
| Rationale | The reason for including it | Internal control checks high reimbursements before payment. |
| Owner | The person accountable for it | Head of internal control |
| Source | The document, session or person that the requirement comes from | Internal control directive |
| Priority | The agreed rank | High |
| Version | The number of the current version | 1.2 |
| Status | Active, cancelled, deferred, added, approved, assigned or completed | Approved |
| Status date | The date of the last status change | 12.03.2026 |
| Stability | The likelihood that the requirement changes | Medium: management may revise the threshold. |
| Complexity | The effort and risk of building it | Low |
| Acceptance criteria | The verifiable conditions | A claim of CHF 1'000.05 enters the queue. A claim of CHF 1'000.00 does not. |
According to the PMBOK Guide, the last three attributes help confirm that the requirement satisfies the stakeholders. The requirements management plan sets the attributes and the link types that the matrix records.
Choosing the level of formality
According to the BABOK Guide, the traceability effort grows sharply with the number of requirements and the level of formality. So the analyst weighs the value of each link before creating it. The analyst asks who will read this link and for which decision. Safety-critical software traces each requirement down to the code and to the test. A mid-sized internal project often stops at the origin, the deliverable and the test case. A law or a contract sometimes imposes its own traceability rules. In an agile project the links often live in the backlog tool: a story points to its epic and to its tests. The analyst records the choice in the requirements management plan before creating the first link.
Building the template
The template has one row per requirement. Each requirement receives a unique identifier that never changes. Renumbering breaks every link that pointed to the old number. The columns for the chosen attributes come next. After them comes one column per type of traced element. These columns follow the order of the life cycle: origin, WBS deliverable, design, build and test case. When teams or releases share the requirements, the template adds a column that assigns each requirement to a team and a release.
A requirement's row holds all of its origins. A cell accepts several identifiers. Links are not necessarily one to one: a test case sometimes validates two requirements; a requirement sometimes needs three components. The traced elements also carry a stable identifier: WBS code, mock-up number or test case number.
Filling in backward traceability
The analyst fills in the rows from the requirements documentation. For each requirement the analyst records the origin: the business need, the project objective, the article of law, the session or the person who expressed it. According to the PMBOK Guide, a requirement ready for the baseline is unambiguous, traceable, complete, consistent and acceptable to the stakeholders.
The analyst justifies any requirement without an origin. The PMBOK Guide's Scope performance domain covers all the work required and only that work. A requirement that nobody justifies falls outside the scope.
Extending forward traceability
The analyst creates the matrix early, keeps it up to date and fills it in column by column. Each element goes in when it appears: the WBS deliverable at planning, the mock-up at design, the component at build, the test case at test preparation.
A matrix filled in at the end of the project for the audit reconstructs links that nobody used. These links also reflect what the team delivered rather than what it was meant to deliver.
Reading the matrix in both directions
Read row by row, the matrix shows the gaps: a requirement with an empty cell has nothing at that stage. A requirement without a test case goes into production unverified. A requirement without a WBS deliverable has no planned work. A gap calls for the missing element or a change of status. A deferred or cancelled requirement says so in its status.
Read column by column, the matrix shows the orphans: a deliverable, a component or a test case that no requirement justifies. An orphan signals either a missing requirement or surplus work. In the first case someone asked for the feature verbally and nobody wrote it down. In the second case the team added a feature that nobody asked for (gold plating).
To find the orphans, the analyst exports the lists of test cases, WBS codes and components from their tools. The analyst compares each list with the matching column. Each element missing from the column becomes a row without a requirement. That row stays in the matrix until the team reviews it. The team then adds the requirement through change control or removes the element.
Before the UAT, the analyst checks that each approved requirement points to at least one test case. The test case draws on the requirement's acceptance criteria. Test and inspection planning decides how to verify each deliverable. The matrix shows whether each requirement has a test.
Keeping the matrix under change control
A change request concerns one or more requirements. The analyst follows their forward links to the deliverables, mock-ups, components and test cases that the change touches. Then the analyst traces back from each touched element to the other requirements it serves. When a test case serves two requirements, the team reruns it and checks both. This two-way pass identifies the impact.
modified
to recheck
The change control board decides on the basis of this impact. After approval the analyst updates the row: version, status, status date, links added or removed. A matrix that lags behind the approved changes shows a scope that no longer exists. The team then stops trusting it.
What the matrix does not prove
A link attests that an element exists and that someone attached it to the requirement. It does not say that the element satisfies the requirement. A test case entered in the cell may have failed or never run. The matrix points to the test management tool, which holds the result. A review of the links checks whether each test case verifies what its requirement asks for.
Nor does complete traceability prove that the solution works as a whole. Every row can be covered while two components contradict each other. That check belongs to architecture and integration testing.
Matrix and item tracking
Item tracking drives an action, an issue or a risk through to closure. Each item receives an owner, a due date and a status. The matrix and item tracking meet when an item threatens a requirement. A requirements management tool then attaches the item to the row. The matrix shows the blocked requirement.
AI considerations
A language model compares the text of the requirements with the text of the test cases or mock-ups and proposes candidate links. On an exported matrix it lists the gaps and the orphans. It spots duplicate rows and cited identifiers that exist nowhere. For a change request it follows the links and drafts a first list of the elements that the change touches. For a gap in the test column it drafts a test case from the requirement's acceptance criteria.
Similar wording does not prove that an element satisfies a requirement. A model that fills an empty cell with a plausible link creates fictitious coverage. This false link costs more than an empty cell: the gap disappears from the matrix. The analyst validates each proposed link and records that validation. An auditor will ask who established the link.
Requirements and mock-ups can contain trade secrets. The contract and the non-disclosure agreements decide whether they may go to an external AI service. The matrix also names the requirement owners. The FADP applies to these names. The team removes or pseudonymises them before sending.
Examples
A health insurer launches the online submission of medical invoices. The matrix links five requirements to their origin and to their downstream elements.
Requirement E-04 has an acceptance criterion but no test case: the routing rule would go into production unverified. The last row shows the orphan: the PDF export of the history has a mock-up, a component and a test case but no requirement. The team submits it for review. Test case T-03 appears on two rows. It checks that the system reads the amount (E-02) and shows the status (E-03).
Visualisations
In the spreadsheet grid the requirements take the rows and the traced elements take the columns.
| Requirement | T-01 | T-02 | T-03 | T-04 | T-05 | T-06 | T-07 |
|---|---|---|---|---|---|---|---|
| E-01 | × | × | |||||
| E-02 | × | × | |||||
| E-03 | × | × | |||||
| E-04 | |||||||
| E-05 | × |
Requirements management tools also show the lineage of a requirement from need to test as a tree. For impact analysis a graph of the links shows what a change touches.
Cost
| Phase | Level | Rationale |
|---|---|---|
| Preparation | Medium | Choose the relationship types and the columns, freeze the identifiers, write the structure into the requirements management plan. |
| Execution | Medium | Add each link when the element appears, read the gaps and orphans before each milestone. High in a regulated project traced down to the code. |
| Documentation | High | Update version, status and links at each approved change. Nobody uses a matrix that lags behind. |
Tooling
A spreadsheet is enough for a few dozen requirements. Conditional formatting colours the empty cells and a filter isolates the rows without a test case. In an agile project Jira links stories, epics and tests. A test management add-on such as Xray calculates requirements coverage in Jira. Azure DevOps likewise links work items to test cases. Requirements management tools (IBM DOORS Next, Jama Connect, Polarion, Visure) trace typed links between requirements, designs and tests. They produce the matrix on demand and flag a suspect link when the requirement changes. They keep the version history that an auditor asks for. They pay off in regulated work and beyond a few hundred requirements. The NASA handbook addresses safety-critical software. It judges manual methods inefficient and error-prone and recommends a tool.
Sources
- Project Management Institute, A Guide to the Project Management Body of Knowledge (PMBOK Guide), 8th ed., PMI: the definition of a requirement and the required work of the Scope performance domain (§2.2); the definition of the matrix, its functions, its content, the attributes of a requirement and the template (Section 4, entry Requirements traceability matrix, figure 4-3); the traceability structure in the requirements management plan (Section 4, entry Requirements management plan); the qualities of a requirement before the baseline (Section 4, entry Requirements documentation); the matrix among the inputs of the Plan Sourcing Strategy, Manage Project Execution and Assess and Implement Changes processes (§2.1.6.3, §2.1.6.4, §2.1.6.8).
- IIBA, A Guide to the Business Analysis Body of Knowledge (BABOK Guide) v3, §5.1 Trace Requirements: backward traceability, forward traceability and the relationships between requirements; the benefits of traceability; the effort that grows with the number of requirements and the formality; the relationship types derive, depends, satisfy and validate; the traceability repository.
- Orlena C. Z. Gotel and Anthony C. W. Finkelstein, "An Analysis of the Requirements Traceability Problem", Proceedings of the First International Conference on Requirements Engineering, IEEE, 1994, pp. 94-101: the definition of requirements traceability in both directions; the matrix among the means of tracing; the distinction between what precedes and what follows the specification; the survey of practitioners.
- NASA, Software Engineering Handbook, SWE-052 Bidirectional Traceability: the matrix created early and maintained; one row per requirement with all its origins; filling in column by column; links that are not one to one; the justification of a requirement without an origin; the review of orphans; manual methods and tools. The handbook addresses safety-critical software.

