POST /rest/raven/1.0/import/execution/junit/multipart
Panel
borderColor
#ccc
borderStyle
solid
Import the execution results created with the JUnit XML output formatter. For more information, please check the documentation about JUnit integration.
Note: Currently, if you specify the Test Plan custom field, the Tests of the Test Execution will not be added automatically to the Test Plan.
200 OK : application/json: Some results where successfully imported to Jira. But the following Test issues failed to be created due to the following reasons.
Code Block
title
Example Output
{
"testExecIssue": {
"id": "10200",
"key": "XNP-24",
"self": "http://www.example.com/jira/rest/api/2/issue/10200"
},
"testIssues": {
"error": [
{
"messages": [
"Field 'customfield_10005' cannot be set. It is not on the appropriate screen, or unknown."
],
"testDefinition": "ut.com.xpandit.raven.service.impl.IssueDataSetTest.testApplyOptions_withNullOptionsAndValidIssue_throwsIllegalArgumentException"
}
]
}
}
400 BAD_REQUEST : application/json : Returns the error.
401 UNAUTHORIZED : application/json : The Xray license is not valid.
500 INTERNAL SERVER ERROR : application/json : An internal error occurred when importing execution results.