Xray Import Execution Results Json
xray_import_execution_results_jsonImport JSON test results into Xray to create or update a Test Execution, targeting an existing execution or defining a new one.
Instructions
Import JSON test results into Xray, creating or updating a Test Execution.
Xray JSON can target an existing execution via "testExecutionKey" or describe a new one in "info". Pass test_execution_info to control all Jira fields of the created Test Execution (multipart import).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'xray' = Xray JSON, 'cucumber' = Cucumber JSON report, 'behave' = Behave JSON report. | xray |
| results | Yes | The results document (JSON object/array or its text). | |
| 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 | |||