xporter - how to break a for loop in an excel template ?

jean-christophe faglain
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!
June 15, 2023


I am trying to break a for loop in an excel template.

I found a solution that works except that it creates extra empty lines.


here is my current solution (simplified example) :

#{for tests}
${set(flag, 0)}
#{for c=JQLIssuesCount|clause=project = INDUSTM AND issue in testTestExecutions(${Tests[n].Key}) AND "Test Plan" = ${Key} order by Key desc}
#{if (%{${flag}==1})}
${set(flag, 1)}

I tried to group lines and to move the break statement in many places but it is the only way that I could make it work.

How can I get rid of these extra lines ?


Thank you in advance

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events