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

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.


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

Suggest an answer

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

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

216 views 2 5
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