Skip to content

Traceability report

The Traceability report maps Jira Issues with BDD features and scenarios. The report uses JQL (Jira’s Query Language) to identify which issues to display in the Traceability report. The report displays traceability between all Jira Issues and BDD features and scenarios with the exception of AssertThat Test Plans (Test Plans Report).

Open Features > Traceability Matrix. The query, filters and page you’re on are kept in the page address, so you can bookmark the report or send it to a colleague.

image-20260420-161517.png

To execute the report simply enter the JQL search string to identify the Issues to display in the report and select search. The report maps all features and scenarios to the issues selected in the JQL. More details on how to construct JQL can be found here.

Some commonly used JQL to search for issues are listed below:

# To select Project "Demo" and Issue types Epic or Story
project = "DEMO" AND issuetype in (Epic, Story)
# To select Project "Demo" and Status types.
project = "DEMO" AND status in (Done, "In Progress", "Selected for Development")
# To select Project "Demo" and Issues in the current sprint.
project = "DEMO" AND fixVersion = "Current Sprint"
# To select current sprint for Project "Demo"
project = "DEMO" AND sprint in openSprints()
# To select issues with linked scenarios for Project "Demo"
project = demo and atBDDtotal > 0

More details on AssertThat custom properties using JQL can be found here Using AssertThat scenario properties in JQL search

Please note ‘CurrentUser’ will not work with JQL in the traceability instead use your user details.

Example 1: Traceability matrix for project “DEMO” and linked AssertThat scenarios:

image-20260420-161731.png

The easiest way to build up your JQL is to use Jira’s Search Issues functionality to build up your JQL.

  1. Choose the Jira icon then > Issues and filters.

  2. Select Search issues.

    • If basic search is shown instead of advanced search, click Advanced (next to the icon). If advanced is already enabled, you’ll see the option of switching to basic.
  3. Enter your JQL query. As you type, Jira will offer a list of “auto-complete” suggestions based on the context of your query. Note, auto-complete suggestions only include the first 15 matches, displayed alphabetically, so you may need to enter more text if you can’t find a match.

  4. Press Enter or click Search to run your query. Your search results will be displayed in the issue navigator.

Alternatively in Jira’s Search Issues start building your query in basic then switch to advanced to display the JQL for your search.

Full documentation on how to build up JQL for more advanced queries can be found at:

https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-764478330.html

The same coverage and status figures are available on Jira dashboards as dashboard gadgets.

Jira saved filters can be selected from the dropdown as highlighted below. Once selected, the JQL filter will be automatically populated into search field and search triggered.

image-20260420-163201.png

More information on managing Jira saved filters can be found here: https://support.atlassian.com/jira-core-cloud/docs/save-your-search-as-a-filter/

Above the table, four numbers summarise the issues the query found:

Tile Shows
Issues covered The share of issues with at least one linked scenario, for example 13 of 18 issues have scenarios
Automated The share of their scenarios that are automated, with the number of automated and manual scenarios
Pass rate Scenarios whose latest result passed
Failed scenarios How many failed, and how many are not run or in progress

Below them, Coverage shows bars of covered and not covered issues and of automated and manual scenarios, and Test Status shows passed, failed and not run scenarios, overall and split into automated and manual. Scenario Outline examples count as one scenario.

The Traceability Matrix for the WEB project: coverage and test status summary above the issues table

Issues without scenarios are marked No scenarios in the table, so gaps are easy to spot.

An issue can have scenarios and still leave acceptance criteria untested. Select Coverage gaps to have AI compare each issue’s acceptance criteria with its scenarios and generate the missing ones. See Find coverage gaps.

CSV downloads every issue that matches the query, not only the page shown, with its linked features, scenarios and results.