Xray Import Execution Results Xml
xray_import_execution_results_xmlImport JUnit, TestNG, NUnit, xUnit, or Robot Framework XML reports into Xray Test Executions, linking results to projects, plans, or existing executions.
Instructions
Import an XML test report (JUnit, TestNG, NUnit, xUnit, Robot Framework) into Xray.
Either use the simple parameters (project_key, test_execution_key, ...), or pass test_execution_info / test_info for full control over the created issues (multipart import).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Report format. | |
| results | Yes | The XML report content. | |
| revision | No | Source code revision. | |
| test_info | No | Jira payload applied to Tests created by the import, e.g. {"fields": {"labels": ["auto"]}}. | |
| fix_version | No | Fix version of the Test Execution. | |
| project_key | No | Project for a new Test Execution. | |
| test_plan_key | No | Link the Test Execution to this Test Plan. | |
| test_environments | No | Test Environment names. | |
| test_execution_key | No | Import into this existing Test Execution. | |
| test_execution_info | No | Jira issue payload for the Test Execution created by the import, e.g. {"fields": {"project": {"key": "CALC"}, "summary": "Nightly run", "issuetype": {"name": "Test Execution"}}}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||