Execution results can be exported from Jira through a REST request.
Expand
title
GET /rest/raven/1.0/testruns
Panel
borderColor
#ccc
borderStyle
solid
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"
Note that this endpoint may be paginated.
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)
limit
Integer
(Optional) Limits the number of results per page. Should be greater or equal to 0 and lower or equal to the maximum set in the Global Configuration.
page
Integer
(Optional) Number of the page to be returned. Should be greater or equal to 1.
401 UNAUTHORIZED : text/plain : The Xray 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 done with Xray v2.2.0 and above.
Expand
title
GET /rest/raven/1.0/execution/result (deprecated)
Panel
borderColor
#ccc
borderStyle
solid
Return the result of the test runs from the Test Execution matched by "testExecKey". Note that this endpoint may be paginated.
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
limit
Integer
(Optional) Limits the number of results per page. Should be greater or equal to 0 and lower or equal to the maximum set in the Global Configuration.
page
Integer
(Optional) Number of the page to be retuned. Should be greater or equal to 1.