SELF-GUIDED BA PRACTICE Packages available · Access after confirmed paymentSee packages ↗

Testing & Delivery

Requirements traceability matrix (RTM): a practical guide

Testing & Delivery · Published · Updated · 9 min read · By BA Mentorship Editorial

Part of our guide to business analyst roles and responsibilities.

What a traceability matrix is, in plain English

A requirements traceability matrix (often shortened to RTM) is a table that connects things that belong together. On the left sits a business need or requirement. Across the row you find where it shows up in the rest of the project: the design or process step that handles it, the ticket that builds it, the test case that proves it and the result of that test.

Think of a parcel tracking number. You can follow a package from sender to recipient and see every step. An RTM does the same for a requirement: from the stakeholder who asked, through design and build, to the test that confirmed it works. "Traceable" simply means you can follow the trail in either direction.

It is not a heavy bureaucratic form. On a small project it can be a spreadsheet with six columns. On a regulated project (finance, healthcare, insurance) it may be required by auditors. In both cases it answers the same question: how do we know we built the right thing and tested it?

Following a requirement from its source to its test resultA chain from top to bottom: Need and source (Who asked, in which meeting), then Requirement (BR-01, with a stable ID), then Design or process step (To-be process step 2), then Ticket (SL-201), then Test case and result (UAT-01: Passed). Left arrow, downwards: Forward: where does it end up?. Right arrow, upwards: Backward: why does it exist?.Need and sourceWho asked, in which meetingRequirementBR-01, with a stable IDDesign or process stepTo-be process step 2TicketSL-201Test case and resultUAT-01: PassedForward: where does it end up?Backward: why does it exist?
Follow the trail either way. Down finds missing work; up finds extra work nobody asked for.
Diagram in words
  • Need and source: Who asked, in which meeting
  • Requirement: BR-01, with a stable ID
  • Design or process step: To-be process step 2
  • Ticket: SL-201
  • Test case and result: UAT-01: Passed
  • Down (forward): Forward: where does it end up?
  • Up (backward): Backward: why does it exist?

Why a business analyst keeps one

A business analyst owns the link between business intent and delivered solution. The RTM makes that link visible, and it gives you answers at moments that would otherwise be stressful:

  • Coverage. "Is every requirement tested?" Look for rows with an empty test column.
  • Gold plating / scope creep. "Why did we build this?" Tickets with no requirement link are suspect.
  • Impact analysis. A stakeholder changes a rule: which tickets, tests and documents must change? Follow the row.
  • Audit and sign-off. Evidence that each requirement was delivered and accepted (see user acceptance testing).
  • Status reporting. "How much is done?" Count requirements with passed tests, not ticket points alone.

The free page on requirements traceability and UAT gives a brief sample you can compare with this guide.

Forward, backward and bidirectional traceability

DirectionQuestion it answersExample
ForwardWhere does this requirement end up?BR-03 leads to story SL-212 and test UAT-07
BackwardWhy does this item exist?Story SL-230 traces back to BR-09 and the compliance rule it supports
BidirectionalBoth, kept in one matrixYou can start at either end

Forward traceability catches missing work. Backward traceability catches extra work. Most teams aim for bidirectional links at a reasonable level of detail, not for exhaustive links between every sentence.

Worked example: Shieldline claims portal

Shieldline Insurance is a fictional insurer building an online claims portal. The need: "Customers can submit and follow a home insurance claim without phoning us." Here is part of the RTM.

Req IDRequirementSourceProcess / designTicketTest caseTest status
BR-01Customer can submit a claim online for a covered incidentClaims directorTo-be process step 2SL-201UAT-01Passed
BR-02Claim must include incident date and descriptionClaims handlers workshopWireframe W3SL-202UAT-02, UAT-03Passed
BR-03Incident before policy start is rejected with a clear messageUnderwriting rulesRule table R1SL-203UAT-04Failed (defect SL-250)
BR-04Customer receives an email within 5 minutes of submissionCustomer survey themesNotification spec N1SL-204UAT-05Passed
BR-05Claims above a limit are routed to a senior handlerRisk managerProcess step 5SL-205(none yet)Not covered
BR-06Customer data is stored and shown only to authorised usersComplianceNFR-02SL-206UAT-06, SEC-01In progress

Reading it quickly: six requirements, five with tests (83 percent coverage by count), one failed, one with no test. The BA now has a short, clear action list: raise or confirm defect SL-250, write a test for BR-05 before UAT closes. That is the whole value of the matrix in one table. (All names and numbers are invented for the example.)

Keep IDs short and stable. If a requirement is split, keep the original ID as a parent (BR-05 becomes BR-05a and BR-05b) rather than renumbering and breaking every link. You can read about numbering and layout in BRD vs FRD vs SRS, and the free requirements example shows how requirement statements look.

Test status of the six Shieldline requirementsBR-01 passed, BR-02 passed, BR-03 failed (defect SL-250), BR-04 passed, BR-05 has no test, BR-06 in progress. Coverage is 5 of 6 requirements with a test, 83%. Of the 5 covered, 3 have passed. Actions: fix BR-03 (raise or confirm the defect) and test BR-05 (write the missing test).BR-01PassedBR-02PassedBR-03FailedBR-04PassedBR-05No testBR-06In progressCoverage: 5 of 6 requirements have a test (83%).Passed: 3 of the 5 covered. Action: fix BR-03, test BR-05.
The matrix as a status board. Six requirements, five with tests, one failed and one with no test: a short, clear action list.
Diagram in words
  • Passed: BR-01, BR-02, BR-04.
  • Failed: BR-03 (defect SL-250).
  • In progress: BR-06.
  • No test: BR-05.
  • Coverage 5 of 6 (83 percent); pass rate on covered requirements 3 of 5.

How much detail, and how it works in agile teams

Three levels of traceability detailRising steps, from first to last: Light (Requirement, story, test. Most internal projects.), Standard (Adds source, design item and release.), Regulated (Adds controls, approvals and versions.).LightRequirement,story, test.Most internalprojects.StandardAdds source,design item andrelease.RegulatedAdds controls,approvals andversions.
Choose the lightest level that works. Over-engineering is the most common traceability failure.
Diagram in words
  • Light: Requirement, story, test. Most internal projects.
  • Standard: Adds source, design item and release.
  • Regulated: Adds controls, approvals and versions.

The most common failure of traceability is over-engineering. Before you start, agree the level of linking with the project manager and, if relevant, the auditor. There are three typical levels:

  • Light: business requirement to story to test case. Suitable for most internal projects and small teams.
  • Standard: adds the source (who asked), the process or design item and the release. Suitable for larger programmes with several teams.
  • Regulated: adds risk or control references, approval evidence and version numbers for every artefact. Suitable where laws or auditors demand it, as in banking, insurance or healthcare.

In an agile team, requirements change often, so keep the matrix thin and live in the tools. Each story carries the requirement ID in a field or label; each test case carries the story ID; a saved filter or report produces the matrix on demand. The matrix is then a view of linked records, not a separate document you must retype. If you still need a snapshot for sign-off, export it on the day and store it with the release evidence.

Also decide what counts as "covered". One passing test might be enough for a simple rule, but a rule with three outcomes (accept, refer, reject) needs at least one test per outcome. Write the coverage rule in the test strategy so that "tested" means the same thing to everyone. Where a requirement cannot be tested by running software, such as "staff receive training", name the evidence instead (attendance list, signed record) and link that.

Finally, remember that traceability is also a communication tool. Sharing the one-page summary (counts by status, list of gaps) in the weekly update helps sponsors see progress in terms they care about: needs met, not tickets closed.

Step by step: how to build an RTM

  1. Give every requirement a unique, permanent ID and record its source (who asked, which meeting, which document).
  2. Decide the columns. Start small: ID, requirement, source, priority, ticket, test case, test status. Add design reference or release only if you need them.
  3. Choose the home. A spreadsheet or table on your documentation page works for small projects; bigger teams link tickets and tests inside their tools. Pick one source of truth.
  4. Link at the right level. Requirement to story to test is enough for most projects. Linking to every field is rarely worth the cost.
  5. Link as you go. When you write a story, add the requirement ID to the ticket and the ticket ID to the matrix. When a test is written, add it. Do not wait for the end.
  6. Review weekly. Look for blanks: requirements without tickets, tickets without requirements, requirements without tests.
  7. Use it in change control. When a change arrives, mark the affected rows and update linked tickets and tests. Record the change in the decision log.
  8. Freeze a version at sign-off as part of the evidence pack.

Simple checks you can run on the matrix

  • Requirement coverage: requirements with at least one test divided by total requirements. In the example above, 5 of 6.
  • Pass rate on covered requirements: requirements whose tests all passed divided by requirements with tests. Here 3 of 5 (BR-03 failed and BR-06 is still in progress).
  • Orphan tickets: tickets with no requirement ID. Ask why they exist.
  • Orphan tests: test cases that trace to nothing. They may test an undocumented behaviour you need to document, or may be waste.
  • Requirements still draft: items without owner approval cannot be fully tested.

If your tickets and requirements are held in a database or export, a short SQL query can find blanks; for example, a left join from requirements to tests with WHERE test_id IS NULL lists uncovered requirements. The pattern is explained in SQL joins explained.

Common mistakes

  • ✅ Start the matrix when the first requirement is written. ⚠️ Building it in a panic the week before sign-off.
  • ✅ Keep it as small as the project needs. ⚠️ Twenty columns nobody fills in.
  • ✅ Use stable IDs. ⚠️ Renumbering requirements and breaking links.
  • ✅ Mark tests Passed only with evidence. ⚠️ Ticking a box without a result.
  • ✅ Trace both directions. ⚠️ Only checking that requirements have tickets, never that tickets have requirements.
  • ✅ Update on every change. ⚠️ A matrix that describes last month's project.
  • ✅ Record the source of each requirement. ⚠️ Requirements that appear from nowhere and cannot be defended.

Reader exercise

Write five requirements for a library book-loan app (for example, "Members can renew a loan once online"). Give each an ID and source. Create tickets and test cases for four of them and leave one without a test on purpose. Build the matrix, then compute coverage and write two sentences telling a project manager what to do next. Finally, imagine the rule changes to "renew twice": which rows and artefacts must you update?

How to practise in the BA Lab

In stage 11 of the BA Lab you build a traceability matrix for a fictional project, link requirements to stories and test cases, and the checks flag requirements with no test and tickets with no requirement. It is practice with simulated data, useful as a portfolio sample; it is not a substitute for experience on a real project. The pricing page lists the packages that include the stage, and the demo lets you look before you decide.

Frequently asked questions

What is a requirements traceability matrix used for?

It links requirements to design items, tickets and test cases so you can prove coverage, find missing or extra work, assess the impact of changes and provide evidence for sign-off and audits.

What columns should an RTM have?

At minimum: requirement ID, description, source, priority, linked ticket or design item, linked test case and test status. Add release, owner or design references only if the project needs them.

What is the difference between forward and backward traceability?

Forward traceability follows a requirement to the work and tests that deliver it. Backward traceability follows a piece of work or test back to the requirement that justifies it.

Do agile teams need a traceability matrix?

Many agile teams keep lighter traceability by linking stories to requirements and tests in their tools. Regulated or audited projects usually need a more formal matrix. Choose the lightest approach that still proves coverage.

Who maintains the RTM?

Usually the business analyst, with testers adding test links and results. Agree the owner at the start so it does not go stale.

This article is educational. All companies, people and numbers in the examples are fictional. BA Mentorship does not issue professional certifications and cannot guarantee any job or interview outcome.

Key terms in this article

Browse the full glossary

CHECK BEFORE CONTINUING

Keep your work safe