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

Importing Execution results through the Rest API, doesn't take into account if the Workflow status is disallowing executions

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2021 Sprint 12, XRAYCLOUD 2021 Sprint 13

    Description

      Description
      The Xray Rest API doesn't take into account if some Test Execution is currently in a Workflow status where is not possible to execute the Tests. So, using the UI the user is not allowed to execute the Tests associated, however, through the Rest API it's possible to submit the execution results.

      Pre-conditions
      In the Xray settings, configure a workflow status to disallow execute the Tests of a Test Execution
      Example:

      How to reproduce

      1. Change the Test Execution workflow status to one that disallows the executions
      2. Submit the execution results to update the Test Run (MAAF-2918 - MAAF-116)

      Actual result
      Test Run gets updated

      Expected result
      Test Run is not updated and the endpoint returns some message explaining the reason

      Attachments

        Activity

          People

            ctna Chandani Narendra
            maaf Miguel Fernandes
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 hour Original Estimate - 1 hour
                1h
                Remaining:
                Time Spent - 2 hours, 35 minutes Remaining Estimate - 25 minutes
                25m
                Logged:
                Time Spent - 2 hours, 35 minutes Remaining Estimate - 25 minutes
                2h 35m