Repeating Rules

The repeat rule action allows you to repeat parts of a document to display multiple results. It is most commonly used for filling in multiple rows of tables, and for repeating document sections.

To use the repeat rule create a placeholder in your template document that covers the entire content you want to repeat. For instance, select an entire row of a table, or an entire section of a document.

The repeat action uses a data selection component that allows you to select a list of JIRA objects (issues, projects, users, e.t.c.). The placeholder will be repeated once for each item in the list when the report is generated.

Alternatively, you can use a calculation to choose the list of JIRA objects to repeat the placeholder for. Many operators and functions are supported in calculations. For details and examples see the calculations reference.

The repeat action also allows you to specify a number of subrules. Each subrule is a fully fledged rule with conditions and actions, however it will only affect content within the repeated content. This allows you to replace data of each item in the list of the repeat rule.

Data selection components in rule actions and rule conditions within a repeat rule allow you to choose the repeating item as the data source. This lets you access the item for this iteration of the repeat rule.

You can click here for a step by step guide to using a repeat rule to fill in a table.

You can nest repeat rules, so you can for example have tables within repeated subsections within repeated document sections.

Still have questions? Contact our friendly support team, we are here to help!