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

Whenever using the XRAY JSON endpoint and passing the Test Plan Key the Tests are not being added to the test plan

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • R3.4.0
    • None
    • None
    • R3.4.0 S4
    • NOK

    Description

      When the XRAY JSON REST API endpoint is used and the attribute testPlanKey is passed, the tests aren't added to the Test Plan. Only is shown a message in the Test Execution

       

      Request:

      http://localhost:21000/rest/raven/1.0/import/execution

       

      {
       "testExecutionKey": "CALC-1983",
       "info" : {
       "summary" : "Execution of automated tests for release v1.3",
       "description" : "This execution is automatically created when importing execution results from an external source",
       "user" : "admin",
       "revision" : "1.0.42134",
       "startDate" : "2014-08-30T11:47:35+01:00",
       "finishDate" : "2014-08-30T11:53:00+01:00",
       "testPlanKey" : "CALC-1982"
       },
       "tests" : [
       {
       "testKey" : "CALC-1985",
       "start" : "2014-08-30T11:47:35+01:00",
       "finish" : "2014-08-30T11:50:56+01:00",
       "comment" : "Successful execution",
       "status" : "PASS"
       }
       ]
      }

      Attachments

        Activity

          People

            ipvm Isabel Moreira [X] (Inactive)
            gbml Goncalo Lima
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 40 minutes
                1d 1h 40m