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

Generic tests from automated code (Xray) updated cases not considered


When uploading the junit xml test results against the already created generic tests for automated test cases, only the initial uploaded generic test cases are mapped always. Any updates to the generic test cases creates new tests and not updating the existing (even though the generic definitions are the same)

Creating Generic Tests in bulk from automated code base:

  • Tests uploaded to JIRA using "Import issues from CSV" (Test Sets are defined also)
  • Generic test cases are created as expected with keys and unique "Generic Test Definitions" and assigned to the Test Sets
key     Generic Test Definitions
T01     Test01.config01
T02     Test01.config02
T03     Test01.config03

Updating / Amending the Generic tests and re-uploading creates new test cases 

key     Generic Test Definitions
T04     Test01.config01
T05     Test01.config02
T06     Test01.config03
T07     Test01.config04 <- newly added

 Further upload of test execution results always points to T01, T02,T03 and not to T04,T05,T06


What is the recommended approach to amend / update the generic test definitions? 

1 answer

Hi @Srinivasan Anantharaman 

Which Xray are you using? Server or Cloud?

And which method are you using, REST API or CSV Importer?

If you are using REST API, Xray does identify the Test cases, by the Test Definition, and only creates new ones if the user uploading the information is unable to view the existing issues.

If you are using CSV Importer, to update it identifies by the issue Key, so if you are using this method, the only thing that matters is the issue key. It is necessary to map the issue key during import so that it does update and does not create new ones.

If you need additional help, please contact the Xray Support ( ) so that we can request additional information and help further.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

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

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

395 views 2 15
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