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

How to filter all defects of an Xray Testplan

I want to filter for the defects that were created by the different test executions in a specific Xray (plugin) test plan.

I've tried: project = SCRUM and issue in (testPlanTests("SCRUM-42785")) and issue in defectsCreatedDuringTesting(),

but that doesn't give any results. Via the report generator I can generate a report and get a link to the the tests that failed and indirected I get the linked defects to that test. But I prefer to have the defects straight away. 

2 answers


See if this helps...

1. Create a filter for all the test executions of the Test Plan - "issue in testPlanTestExecutions(<Enter test plan jira ID>)"

2. Save this filter - say "All Test Executions of XX Test Plan"

3. Create another filter -  "issue in (defectsCreatedDuringTestExecution("All Test Executions of XX Test Plan"))"

This will list all the defects related to the test plan

hi i can't help sorry but have same question i think:

how to search jql for defects / bugs linked to an xray testPLAN.

like this, defectsCreatedDuringTestExecution

but would be akin to defectsCreatedDuringTestPlan

--any help much appreciated.

Suggest an answer

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

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

78 views 1 6
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