Hello,
I have modified the Xporter Traceability report to show only the Requirement issue types within a Version. That all works great, however the Issue totals is still showing the total issue count of the Version. This info is coming from:
&{for issues|filter=%{${BulkIssueIndex} == 0}}
${BulkIssuesCount} Requirements Exported
&{end}
I'm trying to show the total issue count of just the Requirement IssueTypes. I've tried:
${set(count,0)}
#{for issues}
#{if (%{'${IssueTypeName}'.equals('Requirement')})}
${set(count,%{${count} + 1})}
#{end}
#{end}
and then placed:
${Count} Requirements Exported
Anywhere I could think to put it, but the finalized report doesn't show the value for {Count}.
Any help with this?
Does it display nothing or just 0 ?
This template works, you can adapt it for your use case.
&{for issues|filter=%{'${IssueTypeName}'.equals('Story')}}
#{if (%{${BulkIssueIndex} == 0})}
${set(count,0)}
#{end}
${Summary}
${set(count,%{${count} + 1})}
&{end}
${count}
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.