Search in JQL
Test Cases, Test Plans, Test Campaigns, and Test Executions in Appsvio Test Management (ATM) are Jira work items, so you can find them with JQL, the Jira search language. Only Test Case Executions aren’t work items, so JQL doesn’t find them. See Testing objects & Relations.
This page lists what ATM adds to JQL: its custom fields and the aliases of these fields. Use the queries in the issue navigator, in saved filters, and in dashboard gadgets.
ATM fields
ATM adds eight custom fields to Jira. See ATM in Jira. You search five of them by name, like any Jira field. ATM Test Cases, ATM Test Plans, and ATM TE Progress you search by an alias.
Field names contain spaces, so always put them in quotes.
ATM Repository
Find Test Cases in a Test Repository folder.
| Syntax | ”ATM Repository” |
|---|---|
| Work items | Test Case |
| Value | The ID of a folder, not its name. While you type the value, Jira suggests folders by their path and inserts the ID of the one you pick. |
| Supported operators | =, !=, in, not in, is, is not |
"ATM Repository" = 4785074604081159You don’t have to look up the folder ID. On the Test Repository page, hover over the folder name in the breadcrumb and click the Copy JQL icon. To include all subfolders of a folder by its path, use the atmRepositoryFolders() function. See Search Folders with JQL.
ATM Test Type
Find Test Cases by test type.
| Syntax | ”ATM Test Type” |
|---|---|
| Work items | Test Case |
| Value | A test type. For now, the only test type is Manual. |
| Supported operators | =, !=, in, not in, is, is not |
"ATM Test Type" = ManualATM Environments
Find Test Executions and defects by test environment.
| Syntax | ”ATM Environments” |
|---|---|
| Work items | Test Execution, defect |
| Value | The name of an active environment, with the same uppercase and lowercase letters, for example Staging. One work item can have several environments. |
| Supported operators | =, !=, in, not in, is, is not |
"ATM Environments" = StagingWith in, check that every name in the list is an active environment. A name that doesn’t match one can make the whole condition return no results.
ATM TE Status
Find Test Executions by their status.
| Syntax | ”ATM TE Status” |
|---|---|
| Work items | Test Execution |
| Value | The name of a status from the Statuses page, with the same uppercase and lowercase letters, for example “In progress”. See Global Statuses. |
| Supported operators | =, !=, in, not in, is, is not |
"ATM TE Status" in (Passed, "In progress")ATM Preconditions
Find Test Cases by the text of their preconditions, or Test Cases with no preconditions.
| Syntax | ”ATM Preconditions” |
|---|---|
| Work items | Test Case |
| Value | A word or phrase. The search works like a Jira text search, so very common words such as “the” don’t match. |
| Supported operators | ~, !~, is, is not |
"ATM Preconditions" ~ "logged in"Field aliases
Three ATM fields hold structured values. You search them by an alias, a part of the field that you add after a dot inside the quotes: "Field name.alias". Put the whole name, alias included, in one pair of quotes. "ATM Test Cases".issues returns a syntax error.
ATM Test Cases.issues
Find Test Plans and Test Executions that contain a given Test Case.
| Syntax | ”ATM Test Cases.issues” |
|---|---|
| Work items | Test Plan, Test Execution |
| Value | The work item ID of a Test Case, for example 10234. A work item key such as QA-12 returns no results. |
| Supported operators | =, !=, in, not in, is, is not |
"ATM Test Cases.issues" = 10234You don’t have to look up the ID. While you type the value, Jira suggests Test Cases by key and inserts the ID of the one you pick.
ATM Test Plans.issues
Find Test Executions and Test Campaigns that contain a given Test Plan.
| Syntax | ”ATM Test Plans.issues” |
|---|---|
| Work items | Test Execution, Test Campaign |
| Value | The work item ID of a Test Plan, not its key. |
| Supported operators | =, !=, in, not in, is, is not |
"ATM Test Plans.issues" in (10301, 10302)Jira suggests Test Plans by key, the same way as for Test Cases.
ATM TE Progress.progress
Find Test Executions by progress: the percentage of Test Case Executions in a final status. See how progress is calculated.
| Syntax | ”ATM TE Progress.progress” |
|---|---|
| Work items | Test Execution |
| Value | A whole number from 0 to 100, without the % sign. |
| Supported operators | =, !=, >, >=, <, <=, in, not in, is, is not |
"ATM TE Progress.progress" >= 50Example queries
Replace the space key QA, the work type names, the IDs, and the field values with your own. The work type names come from your Testing Project.
Test Cases without preconditions
project = QA AND issuetype = "Test Case" AND "ATM Preconditions" is emptyTest Plans that contain a Test Case
Pick the Test Case from the suggestions after =, or enter its work item ID.
issuetype = "Test Plan" AND "ATM Test Cases.issues" = 10234Test Executions below 50% on an environment
issuetype = "Test Execution" AND "ATM Environments" = Staging AND "ATM TE Progress.progress" < 50Test Executions not in a Test Plan
issuetype = "Test Execution" AND "ATM Test Plans.issues" is emptyDefects found on an environment
Defects have the ATM Environments field when it’s on the defect screen. See Defects.
issuetype = Bug AND "ATM Environments" = ProductionThings to know
- The results show only the work items you have permission to see in Jira.
- ATM Repository, ATM Test Cases.issues, and ATM Test Plans.issues take IDs, not names or keys. A name or a key returns no results and no error. Pick the value from the suggestions while you type.
- Environment names and status names must match uppercase and lowercase letters:
"In Progress"doesn’t findIn progress.