Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-11718

Test Runs List Gadget fails to display Test Plan and Test Execution Defects information for Test Runs associated with a Test Plan.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Xray DC 8.4.1, Xray DC 8.4.2, Xray DC 8.4.3, Xray DC 8.4.4, Xray DC 8.4.6
    • None
    • Gadget
    • None
    • Jira Data Center

    • UNCOVERED

    Description

      Description
      The Test Runs List Gadget does not display Test Plan and Test Execution Defects information even though the relationships exist in Xray.
      A Test Execution associated with a Test Plan is correctly returned by the configured filter and the relationship is visible in the corresponding Xray issues. However, the gadget displays "None" in the Test Plan column and does not populate Test Execution Defects information.

      Pre-conditions

      • Jira Data Center with Xray installed.
      • A Test Plan exists (e.g., DEMO-7).
      • A Test Execution exists (e.g., DEMO-9).
      • The Test Execution is associated with the Test Plan.
      • Tests are present in the Test Execution.
      • At least one defect is linked during test execution (for validating the Test Execution Defects column).
      • A Test Runs List Gadget is added to a dashboard.
      • The gadget is configured to display:
        • Test Plan
        • Test Execution Defects

      How to Reproduce

      1. Create a Test Plan (e.g., DEMO-7).
      2. Create a Test Execution (e.g., DEMO-9).
      3. Associate the Test Execution with the Test Plan.
      4. Add Tests to the Test Execution.
      5. Execute a test and link a defect during execution.
      6. Create a saved filter using:
      project = DEMO AND issuetype = "Test Execution" AND issue in testPlanTestExecutions("DEMO-54") 

             7. Add a Test Runs List Gadget to a dashboard.

             8. Configure the gadget to use the saved filter.

             9. Include the columns:

        1. Test Plan
        2. Test Execution Defects

             10. Save and refresh the gadget.

      Actual Result / Attachments

      • The gadget correctly displays the Test Runs belonging to the Test Execution.
      • The Test Plan column displays "None" although the Test Execution is associated with a Test Plan.
      • The Test Execution Defects column is not populated despite defects being linked during execution.
      • The relationship between the Test Plan and Test Execution is visible in the corresponding Xray issues.

      Attachments:

       

      Expected Result
      The Test Runs List Gadget should:

      • Display the associated Test Plan key/name for each Test Run.
      • Display the correct Test Execution Defects count/details when defects are linked to the execution.
      • Show values consistent with the relationships visible in the underlying Xray entities.

      Version
      Xray version : 8.4.2-j11, 8.4.6-j9

      Workaround
      N/A

       

      Attachments

        Issue Links

          Activity

            People

              joana.fonseca Joana Fonseca
              harish.deshaboina Harish Deshaboina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: