Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-11090

The testRequirements() JQL function in Xray Cloud returns incorrect requirements

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Waiting Approval
    • Medium
    • Resolution: Unresolved
    • Xray Cloud 16.29.0
    • None
    • JQL Function, JQL Search
    • None
    • Xray Cloud

    • Standard
    • UNCOVERED

    Description

      Description
      The testRequirements() JQL function in Xray Cloud returns linked issues (such as Test Sets or Bugs) via the "Tests" link type even when those issue types are not configured as valid coverable requirement issue types in the project's Test Coverage settings.

      Pre-conditions

      • Xray Cloud project configured with specific "Coverable Issue Types" (e.g., Initiative, Epic, Story) and excluded issue types (e.g., Bug, Test Set).
      • A Test issue linked to another non-coverable issue type (like a Test Set or Bug) using the "Tests" link type.

      How to reproduce

      • Navigate to an Xray Cloud project and configure the Test Coverage settings with a restricted list of Coverable Issue Types.
      • Link a Test issue to a non-coverable issue type (e.g., a Test Set or Bug) using the standard "Tests" link type.
      • Execute the JQL query: issuekey in testRequirements(<Test_Issue_Key>)

      Actual result/Attachments

      The JQL query returns the linked non-coverable issues (such as Test Sets or Bugs), ignoring the project's Test Coverage issue type restrictions.

      This behavior differs from Xray Data Center, which correctly filters out non-coverable issue types.

      Expected result

      The testRequirements() JQL function should respect the project's "Coverable Issue Types" configuration in Xray Cloud, returning an empty result or filtering out issues that do not belong to the allowed requirement types.

      Version

      Xray Cloud 16.29.0

      Workaround

      None currently available.

      Attachments

        Issue Links

          Activity

            People

              bernardo.cottim Bernardo Cottim
              kiran.kumar C Kiran Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: