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

As a machine, the REST API should return a list of Test Runs based on given parameters

    XporterXMLWordPrintable

Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • R2.2.0
    • Integration, REST_API
    • None
    • R2.2.0 S1, R2.2.0 S2
    • OK

    Description

      The REST API should provide an endpoint for obtaining a list of Test Runs based on some parameters (one of them must be specified):

      • testExecutionKey
      • testPlanKey
      • id of saved filter (for filtering Test Executions)
      • (optionally) testKey

      It should be possible to enumerate a list of Test related fields that should be returned for each Test Run's Test information, using the parameter includeTestFields=field1,field2,...,fieldN

      GET /rest/raven/1.0/testruns
      

      Each testrun in the response should provide also the Test Run's id and also the Test Execution key.
       
      E.g.:
      ...
            "id":1587,
            "testExecKey":"CALC-13"
       
      Note: The current endpoint for exporting test results should be deprecated (http://confluence.xpand-addons.com/display/XRAY/Export+Execution+Results+-+REST). In fact, it should now be an alias to the new endpoint.

      Attachments

        Activity

          People

            pmmr Pedro Rodrigues
            smsf Sergio Freire
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3 days Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 5 hours, 30 minutes
                4d 5h 30m