Hi i am trying to import result to existing test execution but i am getting "Error:
Hi @Qautomation ,
Welcome to the Community! Your example looks good per the Xray documentation ( https://docs.getxray.app/display/XRAY/Import+Execution+Results#ImportExecutionResults-XrayJSONSchema)
Are all the results failing to import, or there are some that import correctly? Did anything change in your Jira configuration in the last 5 days?
You can also contact Xray support: https://marketplace.atlassian.com/apps/1211769/xray-test-management-for-jira?tab=support&hosting=cloud
Thanks @Carlos Garcia Navarro
I am importing only single result .1 week ago , all was working fine but now neither i am able to create a new test execution or update a test execution for importing results . I tried both rest api version v1 and v2. I have also tried through the curl command but every time i am getting the same error message "Result is not valid Xray Format".I checked for subscription which looks fine also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is resolved as there was typo mistake in finish date "2023-03-12T08:40:35:56" whereas it should be 2023-03-12T08:40:35
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aaah! You're right! Thanks for sharing!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Carlos Garcia Navarro and @Qautomation - do you happen to know how should the json payload look like if we want to create a NEW test execution containing 0 tests?
I would like to add those tests to the created test execution later on in my automation.
Here is what I tried but unfortunately receiving 400 response code. I have correct testPlanKey (if I add an object to "tests" array I can successfully create new test execution with that test, but it's not what I want). The endpoint I'm using is https://xray.cloud.getxray.app/api/v2/import/execution
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.