Details
-
Bug
-
Status: Ready for Release
-
Major
-
Resolution: Unresolved
-
Xray Cloud 13.0.0
-
None
-
Jira Cloud, Postman, Jira Automation
Description
Description
While using Xray APIs in a Team-managed project, we get the following error,
{"error":"Can't create Test Execution for project QG because Test Execution issue type is not configured!"}
This happens even if the Test Execution is present in the respective project. The error happens periodically.
Pre-conditions:
Have a Team-Managed Project and include the issuetype Test Execution in it.
How to reproduce
- Use GraphQL mutation to create Test Execution or
- Using JUnit XML Results REST API, which indirectly creates a Test Execution
curl -H "Content-Type: text/xml" -X POST -H "Authorization: Bearer $token" --data @"data.xml" https://xray.cloud.getxray.app/api/v1/import/execution/junit?projectKey=XTP
Actual result/Attachments
Sometime we see the following error:
{"error":"Can't create Test Execution for project QG because Test Execution issue type is not configured!"}
Expected result
As the issuetype is availble in the project, there should be an error, instead Test Execution should be created.
Version
- Xray Cloud 13.0.0
Workaround N/A