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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

1 accepted

0 votes
Answer accepted

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

Atlassian Community Events