Hello,
I'd like to use the jira xray to show my regression status but propabli I do somethinks wrong.
I would like create new projet in jira x-ray and raport here raports from regresion testing (execued in fitnees) but after put result.xml file XRay shows error. Could you help me and show what I do wrong?
Steps:
0. Create issue "XTest Execution"
1. Generate result.xml from FitNesse -> https://docs.getxray.app/display/XRAY31/Testing+using+FitNesse+and+JUnit
2. Send raport from FitNesse to "XTest Execution"(More -> Import Execution Results)
xray raise error
"Error importing execution results to datebase:
.... Description is required
..."
I tried send also file result.xml from example https://docs.getxray.app/display/XRAY31/Testing+using+FitNesse+and+JUnit
and I had the same error
Thanks in advance
Regards,
David
Hi @David Backup and welcome to the community,
for me this looks like your jira system/screen scheme is configured that the descirption field is a required field. As this field is not filled with content in the test result file it cannot be imported.
Looking forward to your answer.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It depends on where this requirement was set. Could be a validator in the workflow (create transition) or in the global settings for fields.
Global settings (specific permission required)
Workflow
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your problem is resolved please consider to click "Accept" in order to mark this question as solved.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do we have another way to change the settings if we don't have permission to do it?
Do you know if jira xray has a free environment to testing it? For example if results.xml is fine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Changing settings would need special permissions. If this could be worked around permissions would be unnecessary anyways ;)
In case you do not have permission I suggest to reach out to your Jira admin.
I´m afraid there is no free environment. But nevertheless your error message seems to be something regarding your project/system configuration. As XRAY is (obviously) already in place and you would like to try out your results.xml you could open a sandbox/test project in your system.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more thing that came to my mind:
also found an article similar to your problem. Maybe there is a helpful hint in it for you:
https://docs.getxray.app/display/ProductKB/%5BXray+Server%5D+Cannot+import+Test+Run+result%2C+custom+field+is+required
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no, I didn't put test case for these tests from results.xml. I would like only send results.xml and have information about regresion in jira xray.
for example:
3TC passed
1TC failed and name of this TC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira/XRAY needs to have test case entities/issues in order to show test results.
Test case issues are kinda the base for test execution. Test case is just the description/documentation of "what needs to be done" whereas a test execution is an instance of the test case that documents the real execution of those test steps in the test case issue.
Therfore when you try to import test results.xml Jira/XRAY is trying to create new test case issues.
See important details in XRAY documentation:
https://docs.getxray.app/display/XRAYCLOUD/Testing+using+FitNesse+and+JUnit
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.