Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

X-Ray - Mapping test execution results to correct Jira IDs

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.

1 answer

0 votes
Prabhu I'm New Here May 05, 2020

Any updates on this?

Hi everyone,

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

https://github.com/bitcoder/xray-testng-extensions

 

Note: you can always reach out Xray support team in case you have technical doubts or any other issues.

Regards
Sergio
 
=======================================
Personal blog on testing, Agile and software development: https://sergiofreire.com
Follow me on Twitter: https://twitter.com/darktelecom

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

273 views 2 5
Read article

Community Events

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

Events near you