Exporting issues grouped by components is simple using the example below.
This example will also count the number of issues associated with each component.
${set(RepeatComponent, 0)} &{for issues} #{for components} #{if (%{'${RepeatComponent}'.indexOf('${Components[n].Name}') == -1})} Component: ${Components[n].Name} ${set(RepeatComponent, %{'${RepeatComponent}'.concat('[${Components[n].Name}]')})} ${jqlcount: component = '${Components[n].Name}'} #{for m=JQLIssuesCount|clause=component = '${Components[n].Name}'}
#{end} #{end} #{end} #{end} &{end} |
![Product Support Knowledge Base > [Xporter] How to export issues grouped by components > image-2024-9-25_18-6-13.png](/download/attachments/164364367/image-2024-9-25_18-6-13.png?version=1&modificationDate=1727283973914&api=v2)