---
title: "Exercise 5 - Project Overview"
canonical: "https://docs.getxporter.app/space/XPORTERCLOUD/429753/Exercise%205%20-%20Project%20Overview"
format: markdown
---
> Macro (rw-ui-expands-macro)
> 
> > Macro (rw-expand)
> 
> > Macro (toc)

# Introduction

In this exercise, you'll le<span style="color: #000000">arn how to populate a </span>[<span style="color: #000000">Template</span>](https://docs.getxporter.app/space/XPORTERCLOUD/427622)<span style="color: #000000"> representing a project overview with pivot tables, </span>[<span style="color: #000000">JQL</span>](https://docs.getxporter.app/space/XPORTERCLOUD/527003)<span style="color: #000000"> and c</span><span style="color: #000000">harts.</span>

> ℹ️ <span style="color: #000000">A pivot table allows you to extract the significance from a large, detailed dataset.</span>

<span style="color: #000000">This Template is going to be an </span>[<span style="color: #000000">Excel report</span>](https://docs.getxporter.app/space/XPORTERCLOUD/558471)<span style="color: #000000">.</span>

# <span style="color: #000000">Project Overview with Pivot Tables, JQL and Charts</span>

## <span style="color: #000000">First Sheet - Issues</span>

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Create the first sheet and name it *Issues*.
> 
> > Macro (rw-step)
> 
> Create a table header with six columns:
> 
> | **Key** | **Issue Type** | **Priority** | **Summary** | **Status** | **Assignee** |
> | --- | --- | --- | --- | --- | --- |
> 
> > Macro (rw-step)
> 
> Create the [Iteration](https://docs.getxporter.app/space/XPORTERCLOUD/428318) `#{for i=JQLIssuesCount|clause=project = ACD order by Key desc}` below the table header.
> 
> > ℹ️ - Using an [Excel template](https://docs.getxporter.app/space/XPORTERCLOUD/558471), please note that to define an Iteration for multiple columns, you need to merge a row of columns and define the `#{for i=JQLIssuesCount...}` inside those merged cells.
> > ℹ️ - The same thing must be done to define the `#{end}` of the same Iteration. All content between the `#{for i=JQLIssuesCount...}` definition and the `#{end}` will be duplicated for each Iteration.
> 
> > Macro (rw-step)
> 
> Populate the iteration with the placeholders correspondent to the table header:
> 
> |  |  |  |  |  |  |
> | --- | --- | --- | --- | --- | --- |
> | ${JQLIssues[i].Key} | ${JQLIssues[i].IssueTypeName} | ${JQLIssues[i].Priority} | ${JQLIssues[i].Summary} | ${JQLIssues[i].Status} | %{'${JQLIssues[i].AssigneeUserDisplayName}'.length > 0 ? '${JQLIssues[i].AssigneeUserDisplayName}' : 'Unassigned'} |
> 
> > ℹ️ If the Issue has no assigned user, you will be printing "Unassigned". The default is being printed blank.
> 
> > Macro (rw-step)
> 
> Close the statement using the mapping `#{end}`

> ℹ️ The first sheet is complete. From now on, you will be creating pivot tables from this table.

## Second Sheet - Chart by Issue Type

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Create a second sheet named *Chart by Issue Type*:
> 
> 1. To create a pivot table, click the first cell inside the header (cell with *Key*).
> 2. On the *Insert *tab, click *PivotTable*.
> 3. A dialog box appears (Excel automatically selects the data for you; the default location for a new pivot table is the new worksheet).
> 4. Click *OK*.
> 
> > ℹ️ The second sheet has been created.
> 
> > Macro (rw-step)
> 
> The pivot table fields list appear.
> 
> 1. Drag the *Issue Type* field to *Rows*.
> 2. Drag *Key* to *Values*.
> 
> > Macro (rw-step)
> 
> Refresh the pivot table data:
> 
> 1. Right-click the *PivotTable* and select *PivotTable Options*.
> 2. Click the *Data* tab.
> 3. Select the *Refresh data* option when opening the file.
> 
> **The configuration of the pivot table is concluded.**
> 
> > ℹ️ For pivot tables to be well populated with [Xporter](https://marketplace.atlassian.com/apps/891368/xporter-export-issues-from-jira?tab=overview&hosting=cloud) data, you have to configure them to reload the data when opening the exported file.
> > ℹ️ 
> > ℹ️ This affects all pivot tables. So, when you have multiple pivot tables, you'll only need to apply this process to one of the tables.
> 
> > Macro (rw-step)
> 
> Add a chart:
> 
> 1. Select all of the pivot table.
> 2. On the *Insert *tab, click *charts*. In this scenario, the type of chart chosen is the 2D Pie.
> 3. The chart appears on the sheet.
> 
> > ℹ️ The second sheet is complete.
> 
> > Macro (rw-step)
> 
> Repeat the previous steps for each of the following charts:
> 
> - *Chart by Status* (use a 2D Column chart).
> - *Chart by Assignee* (use a 3D Column chart).
> 
> > ⚠️ This type of report is populated from a *JQLIssuesIteration. *This means that any Issue is exported as a single Issue.
> > ⚠️ 
> > ⚠️ Learn more about Iterations [here](https://docs.getxporter.app/space/XPORTERCLOUD/428318).

## Examples

Below (Figure 1, 2, 3 and 4) there are samples of how the mappings will be displayed in the Template.

![Figure 1 - Mappings](media://f4176cee-ee66-4ef3-8e95-12b582e13290)

![Figure 2 - Mappings](media://9b66d460-ac73-4243-a66d-0d35f3f4c21f)

![Figure 3 - Mappings](media://1e163f4c-45b4-4a04-8361-2ecc898be217)

![Figure 4 - Mappings](media://27b5b7c4-b3c7-4db0-b274-9f10fabaed9f)

Below (Figure 5, 6, 7 and 8) there are samples of how the generated file will be populated:

![Figure 5 - Populated file](media://665ba8a7-fd30-4a3a-be71-b19927d00926)

![Figure 6 - Populated file](media://947de781-7df1-4555-b9b0-942dbcff8580)

![Figure 7 - Populated file](media://b89c9580-5e0c-4f41-b6e0-24657532c032)

![Figure 8 - Populated file](media://4269a8be-f1e7-4017-b52e-aade90c9831d)

> ℹ️ **This exercise is now complete. Proceed to **[**Exercise 6**](https://docs.getxporter.app/space/XPORTERCLOUD/527966)** to learn h****ow to export charts with Word templates.**
> ℹ️ 
> ℹ️ If you like this exercise, please share your opinion on the page by just leaving a comment or a 👍. Your opinion is very important to us.
> ℹ️ 
> ℹ️ Thank you in advance. Enjoy our product!

<details>
<summary>Exercise 5 Resources</summary>

| **File** | **Description** |
| --- | --- |
|  | Exercise 5 - Sample template file |
|  | Exercise 5 - 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>