Versions Compared

Key

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

...

JQL FunctionIssue TypeDescriptionExample
Test TypeTestThe Test type: Manual; Cucumber; Generic
issuetype = 'Test' 
   and "Test Type" = "Manual"
TestRunStatusTest

This is a calculated custom field that provides the latest Test Run status based on the current "Test Run Status Version Strategy" option configured in the Xray administration.


Syntax:  TestRunStatus = "[Group (version or TestPlan)] - [Status] environment:[environment]"

Only the Status is mandatory; if only the status is provided, Xray will assume you are searching for the latest execution

Xray will lookup for all Tests with Status in that particular version and environment.

Read more about Status and environments.

Info
titleTest Run Status

The latest Test Run Status is calculated based on the latest final Test Run (i.e., latest finish date) or, in case there are no final Test Runs, the latest non-final Test Run (i.e., latest start date). Please see the custom fields preferences page.


For consistent results when searching for TestPlan results, filter with the testPlanTests function.

issuetype = 'Test' 
   and TestRunStatus in ("FAIL", "ABORTED")

_

issuetype = 'Test' 
and TestRunStatus = "PASS"

_

issue in testPlanTests("TESTPLAN-123")
and TestRunStatus = "TESTPLAN-123 - PASS"

_

issue in testPlanTests("TESTPLAN-123")
   and TestRunStatus = "TESTPLAN-123 - TODO"

_

issuetype = 'Test' 
   and TestRunStatus = "FAIL environment:Android"
          
-
issuetype = 'Test' 
   and TestRunStatus = "v3.0 - PASS environment:Android"

_

issue in testPlanTests("TESTPLAN-123")
   and TestRunStatus = "TESTPLAN-123 - PASS environment:Android"

_

issuetype = 'Test' 
   and TestRunStatus is EMPTY
Requirement StatusRequirement

This is a calculated custom field that provides the requirement coverage status.

Possible status values are:

OK - All tests passed the requirement

NOK - At least one test failed

NOTRUN - At least one test did not run

UNCOVERED - The requirements is not associated with tests

testTestExecutions 


Syntax: "Requirement Status" = "[Group (version or TestPlan)] - [Status] environment:[environment]"

Only the Status is mandatory; if only the status is provided, Xray will assume you are searching for the latest execution

Xray will lookup for all Requirements with Status in that particular version and environment.

Read more about  Status and environments.


Info
titleRequirement Coverage

For more information, please check out our page dedicated to requirements coverage.

If the Requirements Coverage Strategy depends on the version, then you must also include the actual version name and the status when you do the search. The syntax: "[version name] - [status]"



issuetype = 'New Feature' 
   and "Requirement Status" = "OK"
_
issuetype = 'New Feature' 
   and "Requirement Status" in ("NOTRUN", "UNCOVERED")

_

issuetype = 'New Feature' 
and "Requirement Status" = "v1.0 - OK"
-
issuetype = 'New Feature' 
   and "Requirement Status" = "v1.0 - OK environment:Android"
Steps CountTestThe number of Steps in a Manual Test
issuetype = 'Test' 
   and "Steps Count" = 3
Manual Test StepsTestFind Tests by text present in the Manual Test Steps fields
issuetype = 'Test' 
   and "Manual Test Steps" ~ "Login with user administrator"

...