I am trying to loop over a query that fetches all the bugs associated with the test executions in an execution plan. The execution plans are across multiple projects.
This returns the correct number of defects:
${jqlcount: issuetype = "Bug" AND issue in linkedIssuesFromQuery("issue in testPlanTestExecutions(${Key})")}
Whereas this only returns the defects in the project the Test Plan is in, missing out those that are in a separate project.
#{for i = JQLIssuesCount|clause=issuetype = "Bug" AND issue in linkedIssuesFromQuery("issue in testPlanTestExecutions(${Key})")}
${JQLIssues[i].Key}
#{end}
Does JQLIssuesCount only work on a single project?