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 |
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, as well as those contained in child folders.
Syntax |
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 |
|
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 |
|
failedinExecution()
Returns the test cases that are marked as failed in a specific execution of a 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 |
|