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

When importing Test results with Xray Json format, Xray is always registering activity/history with Test Plan

    XporterXMLWordPrintable

Details

    Description

      When importing test results using the Xray JSON format, Xray always registers activity/history entries for the custom field Test Plan — even when no actual value is provided.

      We've also observed the same behavior with the custom field Environment(s), which comes from the Apwide Golive app. These entries are recorded in the issue history during test result imports, despite no meaningful value being added.

       

      Steps to reproduce

      • import a test results, for instance 
        curl -H "Content-Type: application/json" -X POST -u admin:admin --data '{"testExecutionKey": "VANI-3","info":{"summary":"Execution of automated tests for release v1.3", "testEnvironments": ["iOS:Android"]},"tests":[ {"testKey" : "VANI-1",            "status" : "EXECUTING"        }     ]}' http://localhost:10040/rest/raven/1.0/import/execution 
      • check the history of the test execution

      Attachments

        Issue Links

          Activity

            People

              gus.vieira Gustavo Vieira
              dpca Diamantino Campos
              Gustavo Vieira, Patricia Mateo
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: