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

This widget could not be displayed.

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
This widget could not be displayed.

Hi Christian,

glad you figured it out smile


Xpand Add-ons

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 6 hours ago in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26 views 0 1
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