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

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

XRay: import API links test and requirement correctly while the requirement status wrong

Edited

Hi all,

I am calling Xray import API to update testng results to Jira. I followed https://confluence.xpand-it.com/display/XRAY/Testing+using+TestNG+in+Java to update the testng result file, to link "requirement" to a test. 

Everything works fine, new test is created, test execution is created, and the test is linked to the requirement, however, one thing is off, that the "requirement status" of the requirement is still "Uncovered". 

So basically a requirement has a test linked to it by "tested by" relationship, however the "requirement status" is not updated accordingly, is still "Uncovered".

It looks like the import api creates a relationship between the test and the requirement, while did not update the "requirement status" of the requirement accordingly.

This looks like an api bug to me.

 

thanks,

Lingxiao 

 

 

1 answer

Hi @Lingxiao Wu 

We have tested this feature, and in our case, the Requirement status appears with the correct value. We used Xray version 4.1.2. Please try with this version. If you still face the issue, please contact us through our Service Desk and send us the file that you are trying to import.

Best Regards, 

 

Sérgio Freire, Solution Architect and Testing Advocate @Xray

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 Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

101 views 2 11
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