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

When exporting Preconditions associated to a Test with multiple Versions using REST API, it is only retrieving the Preconditions from the Test Default Version

    XporterXMLWordPrintable

Details

    • UNCOVERED

    Description

      Description
      When trying to use the GET API call to retrieve the Pre-conditions of a Test, it only retrieves the preconditions of the default Version of the test.

      Pre-conditions
      Create different Test Versions inside a Test and associate different Preconditions to each Version created.

      How to reproduce

      1. Create a Test with multiple Test Versions
      2. Go to each Test Version and add a new Precondition to each
      3. Run the following API call to retrieve the Preconditions associated with the Test
        http://yourserver/rest/raven/1.0/api/test/{key}/preconditions
        

      Actual result/Attachments
      It will only retrieve the Preconditions from the Test´s Default Test Version.

      Expected result
      It should retrieve all the Preconditions associated to the Test independent of the Test Version.

      Version

      • 7.9.0

      Attachments

        Activity

          People

            patrickginnivan Patrick Ginnivan
            mrap Mario Peixoto
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: