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

Xray JSON Manual Steps import action does not support same json as exported from JIRA

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • R2.0.3
    • R2.1.0
    • Custom Fields, Integration
    • None
    • R2.1.0 S3, R2.1.0 S4
    • OK

    Description

      Hi,
      I am using Xray version 2.0.2. Having issues with exporting manual test steps from JIRA. I would have thought this is something that is already built-in so we can re-import the tests after exporting them from JIRA. The import format is:

      Export format from Issue Search is:

      [index=1, step=Path: Financials -  Fixed assets -  Year end routines -  Update depr.base at year end * Step: Open the Update depr.base at year end window. - Log in as the Accounting Clerk of the Accounting Department., data=Client: KUDS ~ Username: XXXXXX, result=The Update depr.base at year end window will open.]
      [index=2, step=Path: Financials -  Fixed assets -  Year end routines -  Update depr.base at year end * Step: Run the Update depr.base at year end AT14 report., data=, result=The report will be run.]
      [index=3, step=Path: Common -  Maintenance of ordered reports * Step: Open the Maintenance of ordered reports window., data=, result=The Maintenance of ordered reports window will open.]
      [index=4, step=Path: Common -  Maintenance of ordered reports * Step: Check if the Update depr.base at year end AT14 report had run., data=, result=The report will be run.]
      

      Import required format is

      [
      	{"index":0,"step":"Path: GL07 Template Catering (Trish please update this path) Step: Open the Excel Postback template and login via the Excelerator plugin",
      		"data":"Client: KU User: XXXXX","result":"The message 'Logged in' should appear"},
      	{"index":0,"step":"Step: On the first line, enter the account code, the required posting attribute values, and amount",
      		"data":"Account: XXXX, Project code XXXX, Amount: XXXXX GBP","result":""},
      	{"index":1,"step":"Step: Complete the journal so that it balances","data":"","result":""},
      	{"index":2,"step":"Step: From the Excelerator plugin, select the tools option 'Post this sheet'",
      		"data":"","result":"A message displaying the GL07 order no should appear."}
      ]
      

      EDIT: What this fix does is to allow a list of Manual Tests exporter to CSV to be directly imported without any need of change in the CSV. The Manual Test Step Column's JSON is not the same as the JSON import from the Test Issue Screen and it will not be possible without a small edition on the file.

      Attachments

        1. screenshot-1.png
          12 kB
          Sergio Freire
        2. screenshot-2.png
          17 kB
          Sergio Freire
        3. screenshot-3.png
          138 kB
          Sergio Freire

        Activity

          People

            pmmr Pedro Rodrigues
            anand.unadkat@valiantys.com Anand Unadkat
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Time Spent - 1 hour Remaining Estimate - 1 day, 7 hours
                1d 7h
                Logged:
                Time Spent - 1 hour Remaining Estimate - 1 day, 7 hours
                1h