I'm currently getting an error, specifically a Java Runtime Error, "An exception occurred while handling a v2 REST API request: java.lang.RuntimeException", when trying to perform an import multipart operation using the XRay JSON multipart format/endpoint.
(This is to create NEW test items as well, by the way, not already existing ones. We currently can't use JUnit as we have a custom system using test ordering with JUnit, so we have multiple "tests" within each test class, and we need Jira/Xray Test items created for each test class, not test method)
We are on Xray v5.1.4, and have a custom field on our test items. Here is the JSON formatting for both files:
INFO JSON FILE (testexec_info.json):
When sending this in postman, I receive the runtime exception error. I'm trying to get more information on if this formatting may be wrong, or honestly any answers at all as to why this API call isn't working. I've followed the documentation as best I can AFAIK, and believe I have it formatted correctly, but for some reason it's still failing. I was getting the Null Pointer Error, but that seems to have been changed, and now when I change the test from Generic to Automated, I get this response:
Again, our XRay version is 5.1.4.
Also, I've attempted to use the non-multipart endpoint, however I get a response stating that the value for the custom field that I'm providing is required, so I'm unsure of where the failure is for the XRay plugin to pickup on the data I'm sending and why it's ignoring the custom field value. Here's the link to my original post, still unanswered as well:
It would be necessary to have more information about how the request is being made and the error messages returned.
It is best to contact Xray Support (http://Xraysupport.getXray.app) to share your configuration so that the support team can investigate further.
Rogerio Paiva [Xray Support Team]
Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event