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

        1. image-2021-07-08-23-31-59-945.png
          204 kB
          Miguel Fernandes
        2. image-2021-07-08-23-36-47-947.png
          114 kB
          Miguel Fernandes
        3. image-2021-07-08-23-38-24-432.png
          82 kB
          Miguel Fernandes
        4. image-2021-07-08-23-40-12-006.png
          103 kB
          Miguel Fernandes
        5. image-2021-07-20-15-35-37-510.png
          85 kB
          Chandani Narendra [X]
        6. image-2021-07-20-15-36-15-208.png
          45 kB
          Chandani Narendra [X]

        Activity

          People

            ctna Chandani Narendra [X] (Inactive)
            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