Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
5.1.4
-
None
-
None
Description
Description
When Importing Execution Results in Xray, if there are Required Fields with Default Values, the results are not correctly imported.
The same parameters when you create a Jira Issue using REST API are correctly defined.
Pre-conditions
Have a Required Field Custom Field, with the Default Value defined.
How to reproduce
Importing Cucumber Test Results single request
POST /rest/raven/1.0/import/execution/cucumber
Actual result/Attachments
You see the error "Error importing execution results to database: <custom field> is required."
Expected result
The results are correctly imported, and the Custom Field is set with its Default Value.
Importing JUnit XML results single request
POST /rest/raven/1.0/import/execution/junit
Actual result/Attachments
- Doesn't produce an error;
- Test Execution and Tests are created;
- The Required Custom Field is set with the Default Value;
- The Test Results are empty, and the links to Requirements are not present.
Expected result
The Test Execution and Tests are created with the Custom Field is set with its Default Value, and the results are correctly imported.
Version
- Xray v5.1.4
- Jira v8.x