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:
# 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':
The easiest way to build up your JQL is to use Jira’s Search Issues functionality to build up your JQL.
Choose the Jira icon then > Issues and filters.
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.
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.
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: