How to filter all defects of an Xray Testplan

grvermeulen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2019

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. 

3 answers

1 vote
Monik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2023

Hey 

i am also looking for solution here - i need list of DEFECTS linked with FAIL test cases from a particular Test Plan,

Only list of defects from FAIL test cases....

any ideas?

 

thx in advance

1 vote
Ganesh Kalimuthan February 13, 2020

Hi,

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

reyelle.matanguihan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 2023

issue in testPlanTestExecutions(<Enter test plan jira ID>) does not work

It gives me error: Unable to find JQL function 'testPlanTestExecutions(CCP-17105)

Do you create the function manually?

Ievgen Kovalov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 12, 2024

Yesss! Perfectly works for me! You made my day! Thank you!

0 votes
J Larkin February 12, 2020

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
TAGS
AUG Leaders

Atlassian Community Events