Execution results can be exported from JIRA Jira through a REST request.
Expand
title
GET /rest/raven/1.0/testruns
Panel
borderColor
#ccc
borderStyle
solid
Returns Return the result of the test runs from one of the following options:
Test Execution matched by "testExecKey"
Tests in Test Plan "testPlanKey"
Test Executions in Saved Filter "savedFilterId"
Request
QUERY PARAMETERS
parameter
type
description
testExecKey
String
the test execution to export the test runs
testKey
String
A test in particular that is executed on the test execution. This field is optional and if you indicate this value then you only will get tests result from the run of this particular test
testPlanKey
String
A test plan that contains the tests which's test runs will be exported
savedFilterId
String
The id of a saved filter of test executions to export the test runs
includeTestFields
String
(Optional) The field ids of the Test fields that will be included in the response (comma separated values)
401 UNAUTHORIZED : text/plain : The Xray for JIRA Jira license is not valid.
500 INTERNAL SERVER ERROR : text/plain : An internal error occurred when generating the output file.
Info
The Cucumber Scenarios Example/Result details (i.e., Hooks, Backgrounds and Steps) , are only available for executions made executions done with Xray v2.2.0 and above.
Expand
title
GET /rest/raven/1.0/execution/result (deprecated)
Panel
borderColor
#ccc
borderStyle
solid
Returns Return the result of the test runs from the Test Execution matched by "testExecKey".
Request
QUERY PARAMETERS
parameter
type
description
testExecKey
String
the test execution to export the test runs
testKey
String
A test in particular that is executed on the test execution. This field is optional and if you indicate this value then you only will get tests result from the run of this particular test
401 UNAUTHORIZED : text/plain : The Xray for JIRA Jira license is not valid.
500 INTERNAL SERVER ERROR : text/plain : An internal error occurred when generating the output file.
Info
The Cucumber Scenarios Example/Result details (i.e., Hooks, Backgrounds and Steps) , are only available for executions made executions done with Xray v2.2.0 and above.