Using AssertThat scenario properties in JQL search

Please follow steps described in https://assertthat.atlassian.net/wiki/spaces/ABTM/pages/2192211987/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 https://assertthat.atlassian.net/wiki/spaces/ABTM/pages/2192211987/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

Or for Jira issues which 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 project configuration page

  2. Click 'Reindex now' button