Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Depending on your preferences menu options the Feature panel might be loaded in Gherkin Text Editor mode rather than Example Mapping, so you will see textual representation rather like below.

...

Info

Search for issues with Features

Query below can be used to find all Jira issues where the Feature panel has at least some text

Feature.content IS NOT EMPTY

image-20241014-191106.pngImage Added

Search for Feature Attributes

The following list of attributes becomes are searchable with JQL:

Feature.userStories

...

Expand
titleExamples

Feature.userStories = 0

Could be used to identify Jira issues that have some Feature text but are missing key pieces of information such as who the user or the stakeholder is for whom the story is valuable and/or why exactly the story is needed, or in other words ‘As I' or 'So that’ keywords are missing.

image-20241013-122609.png

Feature.userStories > 1

Could be used to identify Features that contain more than one User Story and therefore should be split into further Jira issues.

image-20241013-122849.png

...

Expand
titleExamples

Feature.leastScenariosInRule = 0

Could be used to find Issues where there is at least one Rule without any Scenarios

image-20241013-151846.png

This same query will also include any issues where there is a Rule with Scenarios however there is no text after the Rule keyword (i.e. an empty Rule card), meaning the Rule is not yet defined yet.

image-20241013-152036.png

Feature.mostScenariosInRule

...

Expand
titleExamples

Feature.mostStepsInScenario > 5

Could be used to find Jira issues that have Scenarios with potentially too many steps which could mean that the Steps were used to describe ‘how’ functionally was implemented and not ‘what’ behavior was required which is an anti pattern in BDD.

image-20241013-155032.png

Feature.warnings

Type - Number

Description: total number of warnings the Feature contains according to the syntax of Gherkin

Expand
titleExamples

Feature.warnings > 0

Could be used to find indentation warnings for example indentation warnings

image-20241013-155644.png

Or missing data table values

image-20241015-102441.pngImage Added

Feature.errors

...

Built-in Editor Search

When in Gherkin Text Editor mode use the toolbar button highlighted below to show open the built-in search pop up box in the top right of the editor. Type a search phrase and press the Enter key - match results will get highlighted in yellow.

...

Info

Folded sections are also searched

Using built-in search is superior to using the standard browser find functionally in that it also searches in lines that are currently folded

image-20241014-185901.pngImage Added