Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

‘Xray: Results Import Task’ failed: Upload Failed! Status:400 Response:{"error":"issuetype: issuetyp

Devanath Kaliaperumal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2021

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.

1 answer

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2021

Hi @Devanath Kaliaperumal 

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]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.9.1
TAGS
AUG Leaders

Atlassian Community Events