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

As a user, I can export Xray issues into JSON

    XporterXMLWordPrintable

Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 1.006.000
    • REST API
    • None
    • R1.006.000 S1
    • UNCOVERED

    Description

      As system, I must provide a REST API endpoint to export all Test, Preconditions, Test Sets, Test Executions (excluding test runs) and Test Plans, so that it can be used to migrate data from JIRA Cloud to JIRA server.

      The only possible parameter to the endpoint is projectIds which is an array of project ids to export.

      The generated document must contain an array of Test documents with all Test Specification fields including:

      • Test Id
      • Test Issue Id
      • Project Id
      • Test Type (name)
      • Test Type (Id)
      • Test Steps
      • Generic Definition
      • Gherkin Definition
      • Pre-Condition Issue Ids

      For Preconditions, the following fields should be exported:

      • Steps/Definition/Scenario

       

      The JSON format shall be compatible with Jira's Server JSON importer (https://confluence.atlassian.com/adminjiraserver/importing-data-from-json-938847609.html) so it can be used with it. 

      Attachments

        1. CALC-1989_2.json
          9 kB
          Sergio Freire
        2. migration.json
          6 kB
          Andre Rodrigues [X]
        3. test_precondition_testset_testexec_testplan_export.json
          6 kB
          Sergio Freire

        Activity

          People

            sdcv Sergio Vieira
            bmpc Bruno Conde
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 weeks Original Estimate - 2 weeks
                2w
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 weeks
                3w