I am exporting a Word document with meeting minutes.
I have a few sections with filters, e.g.
Section New Issues
#{for i=JQLIssuesCount|clause=${filter:10054}}
...
#{end}
Section In Progress
#{for i=JQLIssuesCount|clause=${filter:10055}}
...
#{end}
Section Blocked
#{for i=JQLIssuesCount|clause=${filter:10056}}
...
#{end}
However, I also want to show text if the result is empty. For each of the filters.
Is there a simple way, using a condition?
-- edited to better explain the problem after the first answer, I need this for each of the filters --
PS. in the end, I managed by setting an 'isEmpty' variable, but that is somewhat tedious and not very elegant. All examples in the Xporter Academy just use the for loop. The JQLIssuesCount gives the result of the filter I had to use to do a non-empty report.
PPS. A similar approach did not work for Excel as I expected, the '${set(count, 0)}` line seems to produce undesired empty rows.
Hi Pieter,
You can try this option:
#{if (%{'${JQLIssuesCount}' = 0})} Does not have issues #{end}
Best Regards,
Team Xporter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.