Skip to end of metadata
Go to start of metadata

This page describes information about functions that are used for advanced searching. A function in JQL appears as a word followed by parentheses, which may contain one or more explicit values or JIRA fields. JQL stands for JIRA Query Language (not to be confused with Java Query Language). The functions described below are only applicable if Adaptavist Test Management is installed and licensed.

hasTestCoverage()

Search for issues that are covered by test cases.

SyntaxhasTestCoverage()
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in hasTestCoverage()
  • project = MGS and issue not in hasTestCoverage()

coveredBy()

Search for issues that are covered by test cases that have any of the specified testCaseKey.

SyntaxcoveredBy([testCaseKey1], [testCaseKey2], [testCaseKeyN])
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in coveredBy("MGS-T1")
  • project = MGS and issue not in coveredBy("MGS-T1", "MGS-T2")

coveredByTestCasesHavingField()

Search for issues that are covered by test cases that match the specified fields and values.

Note: Custom fields are supported.

SyntaxcoveredByTestCasesHavingField([field], [value1], [value2], [valueN])
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in coveredByTestCasesHavingField("status", "Draft")
  • project = MGS and issue in coveredByTestCasesHavingField("status", "Draft", "Approved")
  • project = MGS and issue in coveredByTestCasesHavingField("projectKey", "MGS")
  • project = MGS and issue in coveredByTestCasesHavingField("name", "Test case 1")
  • project = MGS and issue in coveredByTestCasesHavingField("priority", "High")
  • project = MGS and issue in coveredByTestCasesHavingField("component", "Turbopump")
  • project = MGS and issue in coveredByTestCasesHavingField("folder", "/Orbiter/Cargo bay")
  • project = MGS and issue in coveredByTestCasesHavingField("estimatedTime", "03:00")
  • project = MGS and issue in coveredByTestCasesHavingField("labels", "Smoke")
  • project = MGS and issue in coveredByTestCasesHavingField("owner", "vpelizza")
  • project = MGS and issue in coveredByTestCasesHavingField("Some Custom Field", "Some Value")

hasTestResult()

Search for issues covered by test cases that are linked with a test result.

SyntaxhasTestResult()
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in hasTestResult()
  • project = MGS and issue not in hasTestResult()

hasAllLastTestResults()

Search for issues covered by test cases that match exactly the specified last test result statuses.

SyntaxhasAllLastTestResults([testResultStatus1],[testResultStatusN])
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in hasAllLastTestResults("Pass")
  • project = MGS and issue in hasAllLastTestResults("In Progress", "Not Executed")

hasAnyLastTestResults()

Search for issues covered by test cases that match any of the specified last test result statuses.

SyntaxhasAnyLastTestResults([testResultStatus1],[testResultStatusN])
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in hasAnyLastTestResults("Pass")
  • project = MGS and issue in hasAnyLastTestResults("In Progress", "Not Executed")

impactsTestResult()

Search for issues that impacts test results.

SyntaximpactsTestResult()
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS AND issue in impactsTestResult()
  • project = MGS AND issue not in impactsTestResult()

hasLinkedTestRun()

Search for issues that are linked with a Test Run.

SyntaxhasLinkedTestRun()
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in hasLinkedTestRun()
  • project = MGS and issue not in hasLinkedTestRun()


hasAllLinkedTestRunsWithAllLastTestResults()

Search for issues that are linked with a Test Run with test cases that match exactly the specified last test result statuses.

SyntaxhasAllLinkedTestRunsWithAllLastTestResults([testResultStatus1],[testResultStatusN])
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in hasAllLinkedTestRunsWithAllLastTestResults("Pass")
  • project = MGS and issue in hasAllLinkedTestRunsWithAllLastTestResults("Pass", "Blocked")


hasAnyLinkedTestRunWithAnyLastTestResult()

Search for issues that are linked with a Test Run with test cases that match any of the specified last test result statuses.

SyntaxhasAnyLinkedTestRunWithAnyLastTestResult([testResultStatus1],[testResultStatusN])
Supported fieldsIssue
Supported operatorsIN , NOT IN
Examples
  • project = MGS and issue in hasAnyLinkedTestRunWithAnyLastTestResult("Pass")
  • project = MGS and issue in hasAnyLinkedTestRunWithAnyLastTestResult("Pass", "In Progress")




  • No labels