---
title: "Exercise 7 - Populating a Bulk for all Issues"
canonical: "https://docs.getxporter.app/space/XPORTERCLOUD/430106/Exercise%207%20-%20Populating%20a%20Bulk%20for%20all%20Issues"
format: markdown
---
> Macro (rw-ui-expands-macro)
> 
> > Macro (rw-expand)
> 
> > Macro (toc)

# Introduction

In this exercise, you'll put into practice all the knowledge acquired at this level in a single template, learning how to populate a bulk for all Issues displayed on the screen.

Use the fields listed in the table below.

| **Fields** | **Description** |
| --- | --- |
| Key | The internal issue Key |
| Summary | The issue Summary |
| IssueType | The issue type |
| Status | The issue status |
| Description | The issue description |
| Created | The issue creation date and time |
| Updated | The date and time when the issue was updated |

# Populating a Bulk for all Issues Displayed on the Screen

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Create a table to be populated on a Word document.
> 
> > Macro (rw-step)
> 
> Since all the table contents below the header are dynamic, create a single-row table as the header. Below it, put the `&{for issues...}` statement, so the header is printed only once.
> 
> > Macro (rw-step)
> 
> Create another table where the Issue Fields will be populated. <span style="color: #0d0d0d">To ensure the header table columns align perfectly with the Issue fields table columns, ensure the table properties on both tables are of fixed column width.</span>
> 
> > Macro (rw-step)
> 
> Close the statement using the mapping `&{end}` below the Issue Fields table.
> 
> ## Examples
> 
> Below (Figure 1) is a sample of how the [mappings](https://docs.getxporter.app/space/XPORTERCLOUD/558575) will be displayed in a Word template.
> 
> ![Figure 1 - Word template](media://7628ce77-ec40-461e-ab33-55e067794f58)
> 
> This Template includes:
> 
> - Tables (Figure 1 - 2; 3)
> - a header with a logo (Figure 1 - 1).
> - Headings (Figure 1 - 2; 3).
> - Text styling (Figure 1 - 2; 3).
> 
> Below (Figure 2) is a sample of how the generated file will be populated.
> 
> ![Figure 2 - Populated file](media://c51ddfb1-6727-493a-a4d8-c50a55b5ce7d)
> 
> Below (Figure 3) is a sample of how the mappings will be displayed in an Excel template.
> 
> ![Figure 3 - Excel template](media://042e1207-feea-4307-8482-cdc47359d038)
> 
> Below (Figure 4) is a sample of how the generated file will be populated.
> 
> ![Figure 4 - Populated file](media://81eb1353-a4ac-4fba-b130-5a885eab4b51)


> ℹ️ **Congratulations, you passed on the **[**Templates 1 - Basic level**](https://docs.getxporter.app/space/XPORTERCLOUD/526317)**! You can now **[**proceed to the next level**](https://docs.getxporter.app/space/XPORTERCLOUD/428075)**.**
> ℹ️ 
> ℹ️ If you like this exercise, please leave a comment or a 👍. Your feedback is very important to us.
> ℹ️ 
> ℹ️ Thank you in advance. Enjoy our product!

<details>
<summary>Exercise 7 Resources</summary>

DOCX Files

| **File** | **Description** |
| --- | --- |
|  | Exercise 7 - Sample template file |
|  | **Exercise 7** - Sample generated file |

XLSX Files

| **File** | **Description** |
| --- | --- |
|  | Exercise 7 - Sample template file |
|  | Exercise 7 - Sample generated file |
</details>


<details>
<summary>Support/Troubleshooting</summary>

If you have questions or technical issues, please [contact the Support team via the Customer Portal (Jira service management)](https://jira.getxray.app/servicedesk/customer/portal/2/user/login?destination=portal%2F2%2Fcreate%2F28) or [send us a message using the in-app chat](https://docs.getxporter.app/space/XPORTERCLOUD/18251779/In-App+Chat+Support).
</details>