I currently have a JQL query issue in testExecutionTests(ABC -333) AND TestRunStatus in (FAIL, PASS, TODO, EXECUTING, ABORTED) that displays All the Tests and their Test run status .I would like to query defects associated with the failed Tests. When we execute the Test , we add a defect , we associate the failed test with a defect. However I am not able to query in way that a defect is displayed for the failed test.
When I run the query I have Key, Test summary, Test status , Test run status , Affected version, Assignee,
I would like to add Defect column for those with Testrunstatus as failed. How do I query for the defects