English

Traceability matrix and test coverage in Jira

On this page

A traceability matrix in Jira maps each requirement, normally a story, to the tests that check it and to the latest result of those tests. It answers one question for every release: which requirements are covered, which are failing and which have no test at all.

How do you build a traceability matrix in Jira?

You need three things: requirements in Jira, tests linked to those requirements, and results recorded against the tests. Then a view joins them.

  1. Write requirements as stories or other issues. They stay in Jira.
  2. Link each test to the stories it covers.
  3. Run the tests in cycles and record results.
  4. Open a view that lists every story with its tests and latest results.

In ProbeTest for Jira, you link tests in one of three ways: from a test, on its Links tab; from a story, with the Link tests… action; or from CI by putting the story key in the test name or a property.

Example A matrix read by requirement

StoryTestsLatest resultstestStatus
SHOP-12 Discount code31 passed, 1 failed, 1 untestedFAILING
SHOP-15 Saved card44 passedPASSING
SHOP-18 Shipping address2Not run yetNOT_RUN
SHOP-21 Order receipt0–empty
Each row is a story: its linked tests, their latest results and the status you can search.

What JQL searches test coverage?

ProbeTest writes one coverage property on stories that have linked tests and exposes five search fields:

Field Meaning
testStatus PASSING, FAILING, BLOCKED, NOT_RUN or IN_PROGRESS
testCount Number of linked tests
testFailCount Number of failing tests
testLastRun Date of the last run
testFailingIn Versions in which the story fails
project = SHOP AND testStatus = FAILING
project = SHOP AND testStatus IS EMPTY
project = SHOP AND testStatus = NOT_RUN
project = SHOP AND testFailCount >= 1

Only stories with at least one linked test have a status, so use IS EMPTY to find stories without tests. These are ordinary JQL clauses, so they work in saved filters, board quick filters and dashboards.

How do you read the coverage matrix?

Open Coverage → Matrix, choose a Jira version or switch to JQL, and read the table, which is sorted worst first. Chips filter to stories with no tests, never run or failing. Expand a row to see its tests and results, use Link tests… on an uncovered story, and use Open in Jira to run the same filter in Jira search. Coverage counts only cycles that count toward coverage.

How do you decide if a release is ready?

Open Coverage → Readiness for a version, or use Combine versions for a release that spans projects. The verdict follows written rules:

Verdict Rule
Go Every requirement passes and no open High or Highest defects
At risk Any requirement failing, blocked, not run or without tests, or an open High defect
No-go An open Highest-priority defect in the release

The page lists stories nobody tested and the open defects. You can export to CSV, print, or publish it to Confluence. Untested never counts as failed. See link defects to test cases for how defects feed the verdict.

Doing this inside Jira with an app

ProbeTest for Jira keeps tests, cycles and runs in its own app storage, so the matrix does not need extra issue types or custom fields. The coverage property is the only thing written into Jira, and the admin page can remove it. Cycles and releases are explained in test cycles, test plans and releases.

The first release has no test plans or sets, no parameters and no AI features. It is for Jira Cloud only and is coming soon to the Atlassian Marketplace. The steps are in Traceability and coverage, and the dashboards in Reports and dashboards. For the wider choice of approaches, read Jira test management: how to choose an app.

Sources

To see where it fits, visit the ProbeTest for Jira page.

Frequently asked questions

What is a traceability matrix in Jira?

It is a table that maps each requirement, usually a Jira story, to the tests that check it and the latest result of those tests. It shows at a glance which requirements are covered, which fail and which have no tests.

How do I find Jira stories with no tests?

Search for stories whose coverage field is empty. With ProbeTest for Jira the JQL is testStatus IS EMPTY, for example project = SHOP AND testStatus IS EMPTY.

Does an untested story count as failing?

No. In ProbeTest untested and skipped runs count as not run, and release readiness lists those stories as untested instead of failing them.

Can I see test coverage on a Jira board?

Yes. The coverage fields are searchable in JQL, so a board quick filter or a card color rule can use testStatus = FAILING. Jira needs a short time to index a change.