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

As system, the REST API should be able to import results and assign them to a Test Plan

    XporterXMLWordPrintable

Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • R2.1.0
    • Integration
    • None
    • R2.1.0 S2
    • OK

    Description

      • Whenever executing tests in a CI environment, the reporting of results will normaly lead to a creation of a new Test Execution.
        These Test Executions may be related to a given Test Plan though.
        Thus, the endpoint for importing execution results (POST /rest/raven/1.0/import/execution), should provide a way to optionally specify the Test Plan using a parameter "testPlanKey".

      A new field named "testPlan" must be supported by the Xray internal import format. This field must be included within the "info" element.

      In case of the cucumber or behave JSON reports, Xray must support a new REST method for importing a multipart request containing both the Cucumber/Behave JSON report and a JSON meta data file containing information of arbitrary fields. These fields must follow the JSON format from the JIRA REST API for creating new issues.

      Attachments

        Activity

          People

            pmmr Pedro Rodrigues
            smsf Sergio Freire
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 week
                1w
                Remaining:
                Time Spent - 2 hours Remaining Estimate - 4 days, 6 hours
                4d 6h
                Logged:
                Time Spent - 2 hours Remaining Estimate - 4 days, 6 hours
                2h