Hi,
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})} |
#{break} |
#{end} |
${set(flag, 1)} |
${wiki:Tests[n].Summary} |
#{end} |
#{end} |
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