I am trying to integrate the testng execution results with X-ray and Jira. For this , I am importing the testng-results.xml file to Jira with X-Ray API. I want to know how i can map the Jira IDs with that output coming in xml because the x-ray takes the method name from the xml and map it with the summary field of the Jira ID and if it is not matched , it creates a new Jira ID.
the integration is detailed here: https://confluence.xpand-it.com/display/XRAY/Taking+advantage+of+TestNG+XML+reports
You can see a concrete example here: https://confluence.xpand-it.com/display/XRAY/Testing+using+TestNG+in+Java
You have to use a custom listener if you wish to override the automatic mapping/autoprovisioning based on the classname.
You can use the custom code found on the previous example, or you can use the following maven plugin for a cleaner integration :)
Note: you can always reach out Xray support team in case you have technical doubts or any other issues.
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events