Query to find defects without a passed test connected to it

Dirk Knoke
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 26, 2024

Hi all,

in our JIRA XRAY project no defect has to be closed without a linked testrun in status 'passed'. To find out, if there are closed defects without a positive test I tried the following JQL querys:

project = XXXX AND issuetype = Defect AND NOT issueFunction in linkedIssuesOf("ISSUETYPE = 'test' and TestRunStatus = pass") AND status = closed

project = XXXX AND issuetype = Defect AND issueFunction not in linkedIssuesOf("ISSUETYPE = 'test' and TestRunStatus = pass") AND status = closed

This query shows all closed defects wether they have passed testruns or not. Does anyone have an idea what is the problem?

Many thanks!

0 answers

Suggest an answer

Log in or Sign up to answer