Traceability report

Traceability report - Jira Issues to Features / Scenarios

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 Traceabilty report.

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:

1 2 3 4 5 6 7 8 9 10 11 # 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()

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

Example 1: Traceability matrix for project “DEMO” and issues in status 'To Do':

Constructing JQL

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 display 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:

Jira Saved Filters

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.

More information on managing Jira saved filters can be found here: