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
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