This article provides a guide to troubleshooting common issues and optimizing your testing workflow when importing tests using the Xray API or UI on both Jira Data Center and Jira Cloud.
Confirm whether you are using Xray Cloud or Xray Data Center and adapt to our documentation accordingly.
Do you want to confirm your Xray Version? → [Xray] How can I find my Xray version?
You may also have authentication errors as described below:
The method you choose to import your test will determine the aspects you need to address. |
When importing data via an API, format issues often arise in the request. For instance, when using the curl
command, an incorrect number of quotation marks, or hidden characters can cause the request to fail.
Parameter-related issues are also frequent. If you provide the wrong Project key or Test Key, it can lead to problems during the import process.
Other Common Issues:Error Messages: Understand common error messages and their solutions. For example, a 404 error might indicate that you’re trying to import Tests to the wrong server. A “No Project” error might indicate an issue with the project key in your import file. Software Version Issues: If you’re encountering issues after an Xray or Jira update, it could be a software bug. Check the Xray support portal for known issues and updates. Looking to learn more:Check out this: TTT: Examples using JUnit |