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: FAILUREXRay 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.