How to find defects created during one Xray test execution

Let's say I have just completed a Xray test execution which was labeled with a specific version. During that test execution I have created a new Defect (via the "Defects" column of the current test's execution).

When I'm done with testing I would like to get an overview of all the defects created during that test execution. Preferably this should also be somehow linked to the version I tested.

I tried this JQL query:

project = MyTestProject and issue in defectsCreatedDuringTesting()

But this gave me 0 results.

2 answers

Ha silly me. I got the project part wrong. I filtered for the project holding the tests, but the actual defects were created in a different project.

So actually the filter should be:

project = ProjectUnderTest and issue in defectsCreatedDuringTesting() and affectedVersion = 1.2.3

Hi Christian,

glad you figured it out smile


Xpand Add-ons

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

189 views 12 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot