How to search for
test cases
Select Issues > Search for Issues from the main Jira navigation bar.
Switch to advanced searching by clicking the Advanced link from the filter bar.
Enter a query in the search text box. The expressions used with T4J functions are all of the following form: issue operator function(). See reference section below.
Click on the Search button or hit enter to execute the
query
.
Function Reference
testDefinitionFolder()
Returns the
test cases that are directly contained in a specific folder in the definition tree of a project.
Syntax |
---|
|
Where path represents a part of the hierarchical structure of the definition tree.
The path parameter should be of the following form: "project name/parentFolder/.../childFolder" |
. |
Supported |
---|
fields | Issue |
---|---|
Supported |
operators | IN , NOT IN |
---|---|
Unsupported operators | = |
, != |
, ~ |
, !~ |
, > |
, >= |
, < |
, <= |
IS |
, IS NOT |
, WAS , WAS IN |
, WAS NOT |
, WAS NOT IN |
, CHANGED | |
Examples |
|
---|
|
|
|
|
|
testDefinitionPath()
Returns the
test cases that are directly contained in a specific folder in the definition tree of a project
Also returns the issues/tests of subsequent
, as well as those contained in child folders.
Syntax |
---|
|
Where path represents a part of the hierarchical structure of the definition tree.
PathThe path parameter should be of the following form: "project name/parentFolder/.../childFolder" |
. |
Supported |
---|
fields | Issue |
---|---|
Supported |
operators | IN , NOT IN |
---|---|
Unsupported operators | = |
, != |
, ~ |
, !~ |
, > |
, >= |
, < |
, <= |
IS |
, IS NOT |
, WAS , WAS IN |
, WAS NOT |
, WAS NOT IN |
, CHANGED | |
Examples |
|
---|
|
theme | Confluence |
---|---|
firstline | 1 |
linenumbers | true |
|
testPlan()
Returns
the test cases that are part of a specific test plan.
Syntax |
---|
|
Supported |
---|
fields | Issue |
---|---|
Supported |
operators | IN , NOT IN |
---|---|
Unsupported operators | = |
, != |
, ~ |
, !~ |
, > |
, >= |
, < |
, <= |
IS |
, IS NOT |
, WAS , WAS IN |
, WAS NOT |
, WAS NOT IN |
, CHANGED | |
Examples |
|
---|
|
|
|
|
theme | Confluence |
---|---|
firstline | 1 |
linenumbers | true |
|
|
|
theme | Confluence |
---|---|
firstline | 1 |
linenumbers | true |
|
|
|
|
|
|
|
|
|
|
theme | Confluence |
---|---|
firstline | 1 |
linenumbers | true |
|
Failed in Execution
Returns all issues/testsfailedinExecution()
Returns the test cases that are marked as failed in a specific execution of a
test plan.
Syntax |
---|
theme | Confluence |
---|---|
firstline | 1 |
linenumbers | true |
|
Where project is the name of the project that contains the desired test plan.
Plan is the name of the test plan.
Execution is the name of a specific execution of the given test plan.
Supported Fields
Supported Operators
Supported fields | Issue |
---|---|
Supported operators | IN , NOT IN |
Unsupported operators | = , != , ~ , !~ , > , >= , < , <= IS , IS NOT , WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED |
Examples |
|
|
|
|
theme | Confluence |
---|---|
firstline | 1 |
linenumbers | true |
|
|
|
|
|