What should be the format of testng-results.xml file to upload to link an existing Jira issue?
There is an existing Jira issue example: CP-1241. This was added as a tag to a test and this can be included in the testng-results.xml file after executing the test scenario. What is the correct format of xml file to upload, so Zephyr/Jira identifies the existing Jira issue and add that to the Cycle summary instead of creating new Jira issue?
<?xml version="1.0" encoding="UTF-8"?>
<testng-results>
<suite>
<test>
<class>
<test-method name="CP-1241" status="FAILED">
<exception class="java.lang.IllegalArgumentException">
<message>Current URL is not supported</message>
<full-stacktrace>Current URL is not supported</full-stacktrace>
</exception>
</test-method>
<test-method name="CP-1216" status="FAILED">
<exception class="java.lang.IllegalArgumentException">
<message>Current URL is not supported</message>
<full-stacktrace>Current URL is not supported</full-stacktrace>
</exception>
</test-method>
</class>
</test>
</suite>
</testng-results>
In the above xml file CP-1241, CP-1216 are existing Jira issues. By uploading this testng-results.xml file, it created new Jira issues. What should be the format this xml so it doesn't create new Jira issues, instead link CP-1216, CP-1241 to the Cycle summary?