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

Inconsistent results with testRepositoryFolderTests() JQL function

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • Xray Cloud 6.8.0
    • None
    • None
    • Jira Cloud, Chrome, Windows

    • UNCOVERED

    Description

      Description:

      The JQL function testRepositoryFolderTests(), formed from the View Issues in Navigator of the Test Repository, gives inconsistent results. The working change with the placement of the Root folder, and also randomly with case-sensitiveness for characters.

      Pre-conditions:

      Having at least two folders in the Test Repository with some sub-folders under each of them. 

       

      How to reproduce

      • Right-click on the first root folder and select View Issues in Navigator. It opens a new page with JQL function to view the issues of the folder.
      issue in testRepositoryFolderTests(JN, "/Folder1", "false")
      •  Edit the JQL from "false" to "true".
      issue in testRepositoryFolderTests(JN, "/Folder1", "true")
      • Change any character of "true" from lowercase to uppercase, say "true" to "truE".
      issue in testRepositoryFolderTests(JN, "/Folder1", "truE")
      • Repeat the process for the second root folder.

      Actual result/Attachments:

      For the first root folder, the results are not displayed even if we change the false condition to true, whereas for the second folder, the results are shown.

      For the first folder, we get the results if we change at least one character of the "true" condition to uppercase.

      Expected result:

      Both the folders should exhibit similar behavior with testRepositoryFolderTests() and the condition "true" should work without the need to change to upper-case.

      Version

      • Xray Cloud 6.8.0

      Attachments

        1. JQL Bug-1.gif
          JQL Bug-1.gif
          2.59 MB
        2. screenshot-1.png
          screenshot-1.png
          62 kB
        3. screenshot-2.png
          screenshot-2.png
          216 kB
        4. screenshot-3.png
          screenshot-3.png
          25 kB
        5. screenshot-4.png
          screenshot-4.png
          141 kB

        Activity

          People

            bernardo.cottim Bernardo Cottim
            jayanthi.murthi Jayanthi Murthi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: