I use Xray for JIRA Jenkins Plugin to upload test results to Jira as a post-build action
Console output in Jenkins provides error below:
########################################################## #### Xray is importing the execution results #### ########################################################## File: /jenkins/workspaces/workspace/B2b_wager_DK/B2B-cukes/target/cucucmber-report/test-results.json Starting to import results from test-results.json ERROR: Step ‘Xray: Results Import Task’ failed: Unable to confirm Result of the upload..... Upload Failed! Status:400 Response:{"error":"issuetype: issuetype"} Finished: FAILURE
XRay result import task Format: Cucumber XML
Based on similar issue report here, it appear custom field "issuetype" is missing. Could you please advice and confirm the following.
1. Is this different from JIRA field "issue type"
2. to which issue type (test or test execution) should this custom field be added.
The most common cause for this kind of error happens when the user that uploads the information from Jenkins cannot view the field.
In the cases, this either happens because is it missing from the screens, it is hidden or the user does not have enough permissions to view it.
By default, it should be the Jira's issuetype, unless someone was able to create a custom field with the same name.
The issue type is necessary for both Test and Test Execution.
If you need additional help, please get in touch with Xray Support (http://xraysupport.getxray.app); we would gladly assist you.
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.