Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL query for linked issue TestRuns=>Defects

wafa Boussaid Mahmoudi
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 27, 2018

Hello Alassian Geeks :)

I need to display (for reporting reasons) the linked defects to a testRun sets for a given TestPlan:

I created the following JQL query

project="SMA" AND issue in testPlanTests("SMA-850") AND TestRunStatus="FAIL"

=> As a result I displayed all the success testRuns related to my testplan "SMA-850"

I need to add a column for the linked defects

I tried this option :

project="SMA" AND issue in testPlanTests("SMA-850") AND TestRunStatus="FAIL" AND issue in defectsCreatedDuringTesting("test in test plan 850")

and the saved filter : test in test plan 850    ==> contain the following query

project = SMA AND issue in testPlanTests(SMA-850)

Thanks for helping me :)

Wafa

1 answer

0 votes
Tinker Fadoua
Community Champion
March 9, 2018

Hi Wafa,

Do you have Adaptavist ScriptRunner installed? Are you a JIRA Cloud? JIRA Server?

Suggest an answer

Log in or Sign up to answer