Using AssertThat scenario properties in JQL search

Please follow steps described in Using AssertThat scenario properties in JQL search | Reindexing section on this page after upgrading to v1.8 in order to reindex existing scenarios and features tags. Further updates to the tags will be indexed automatically.

Properties types

The following custom scenario properties are available for use in JQL search for querying and reporting.

Number properties data type

issue.property[assertthat-scenarios].passed
issue.property[assertthat-scenarios].failed
issue.property[assertthat-scenarios].in_progress
issue.property[assertthat-scenarios].not_run
issue.property[assertthat-scenarios].total
issue.property[assertthat-scenarios].automated
issue.property[assertthat-scenarios].manual

Text properties data type (list of space separated tags, tokenized before indexing and allows for searching for particular tag)

issue.property[assertthat-scenarios].tags (available since version 1.8, follow the steps in Using AssertThat scenario properties in JQL search | Reindexing section below after upgrade to version 1.8)

For example, looking for Jira issues with at least one failed scenarios

project = DEMO AND issue.property[assertthat-scenarios].failed>0

Use AssertThat issue properties to search for linked scenario counts using JQL

Or for Jira issues that have scenarios linked with a 'regression' tag

project = DEMO AND issue.property[assertthat-scenarios].tags ~ "regression"

Reindexing

All new scenarios/linkage created after 26/09/2021 will be automatically indexed and available for querying in JQL. In order to add existing scenarios to index the manual action is required

  1. Navigate to the project configuration page

  2. Click the 'Reindex now' button

    image-20240401-183733.png
    Reindex linked issues and execution status from AssertThat Configuration pages