Issue create failed

Nour-Elhouda Ayari
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!
September 18, 2023

I have done the setup of JIRA instance in my jenkins settings correctly and I get the success message when I test.

I'm using pytest for testing, and generating an xml report with the option --junit in the pytest command.

In my jenkins file I'm using those lines to import results to JIRaA XRAY

            stage('Import results to Xray') {
                step([$class: 'XrayImportBuilder',
                serverInstance: 'my_instance_server',
                endpointName: '/junit',
                importFilePath: 'my_xml_path\\results.xml',
                importToSameExecution: 'false',
                projectKey: 'XPOC'])
            }

But when I try to use this result.xml to automatically create a JIRA issue I'm getting this error: 

ERROR: Unable to confirm Result of the upload..... Upload Failed! Status:400 Response:{"error":"Error creating Test Execution - Issue create failed!"}
Finished: FAILURE



0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events