---
title: "Customize Gantt templates."
canonical: "https://support.appfire.com/space/DLP/296850175/Customize%20Gantt%20templates."
format: markdown
---
| **Contents:**<br>> Macro (toc) |
| --- |

Customized Gantt templates are useful, especially when you use a particular template frequently and do not want to define the column view before each data export. Now, you can easily prepare templates tailored to your business needs and enjoy exporting data with a few clicks.

Once you prepare and upload your own templates, they will be available to select from the drop-down menu.

## XLSX templates

To prepare your own xlsx template:

1. Open an xlsx file.
2. Complete the file by providing the names of imported fields in the first row (more about supported fields can be found below).
3. Upload your template (see more on the [Configuration](https://appfire.atlassian.net/wiki/spaces/DLP/pages/297570859/Configuration#addnewtemplates) page).

The procedure works for odt and csv files as well. 

### Supported fields

Customized templates can contain the fields:

1. Global fields supported by BigPicture - *Assignee, Summary, Start Date, End Date, Status, Story Points*, etc.
2. System fields from Jira that need to follow the style name:** #BT.task.<fieldname>**

You can find a list of Jira system fields in <span style="color: #172b4d">**Jira Administration **</span><span style="color: #172b4d">></span><span style="color: #172b4d">** Issues **</span>><span style="color: #172b4d">** System fields**</span><span style="color: #172b4d">. </span>

See the examples in the table. 

| System field in Jira | Style name to use in xlsx templates |
| --- | --- |
| Description | #BT.task.description |
| Summary | #BT.task.summary |
| Issue Type | #BT.task.issueType |
| Labels | #BT.task.labels |
| Assignee | #BT.task.assignee |
| Due Date | #BT.task.dueDate |

3. Custom fields from Jira that need to follow the style name: **#BT.task.customfield_<id>**  
You can find detailed instructions on how to find custom fields in Jira below.

#### Date and format

For Jira fields, you can also format dates by adding the following modifiers:

- $yyyy-MM-dd (-> 2021-12-31)
- $dd-MM-yyyy (-> 31-12-2021)
- $MMM/dd/yyyy (-> Dec/31/2021)

As an example, you want the **Due Date** system field from Jira to be exported and presented in the **Dec/31/2021** format. To achieve that, you should create such a field:

| **#BT.task.dueDate$MMM/dd/yyyy** |
| --- |

#### Custom fields

There are several types of custom fields:

- Number
- Select List (multiple choice)
- Select List (single choice)
- User Picker (single line)
- User Picker (multiple choice)
- Date Picker
- Labels
- Text Field (multi-line)
- Text Field (single line)

Firstly, you need to find out how a given field is named in your Jira instance - the field ID is used for this. To do so, go to **Jira Administration **>** Issues **>** Custom Fields**.

![Screenshot of the Custom fields tab in Jira Administration.](media://07cd3b0a-5e75-42fc-b6b2-3df1c749733b)

To obtain the ID, you need to right-click a custom field on your Jira issue screen and click **Inspect Element** - the ID will be clearly shown as a numerical value (10400 as an example below for field 123).

![Screenshot of inspecting an element on an issue page.](media://d5348bb0-fc86-443e-9629-3dfe8eaced34)

## Additional information

Before you start preparing customized templates, get familiar with the information below.

1. Do not add empty columns in the middle of the template. When an empty column is recognized, the fields provided after this column will not be exported.
2. If a field name cannot be found, BigTemplate will leave such a column empty.
3. The exported date format reflects the date format that is set in Jira.
4. Field names provided in the template will be replaced with their real names after export.
5. BigTemplate is not case-sensitive when exporting data, so global field names supported by BigPicture can contain uppercase or lowercase characters.
6. In addition to the field names you enter in the template, BigTemplate always adds 5 default columns to the exported file: *Key, Parent Row, Issue Type, Summary, and Link*.

### Parent Row

In the exported file, the **Parent Row** column is the Excel row in which the task's parent is located.

![Screenshot of an exported file with a Parent Row highlighted.](media://98f282d7-9d2f-4f99-bebd-4574e59061e7)

<span style="color: #172b4d">The exported file presented above reflects the structure in BigPicture. </span>

![Screenshot of the task structure in the Gantt module.](media://ca3e4ce6-d1c7-4eb5-8140-fcaafd8050e6)

### Link

The **Link** field is a cell with dependencies or links, for example, 16FS-1 or 21SS+1, where:  
<span style="color: #172b4d">16, 21 - pointer to Excel's row with the linked task;</span>  
<span style="color: #172b4d">FS, SS - link type:</span>

- <span style="color: #172b4d">FS - finish to start;</span>
- <span style="color: #172b4d">SS - start to start;</span>
- <span style="color: #172b4d">FF - finish to finish;</span>
- <span style="color: #172b4d">SF - start to finish.</span>
- <span style="color: #172b4d">-1/+1 - link lag in days.</span>

![Screenshot of an exported file with an example of a link.](media://9a6cbca9-b2ca-4111-9b19-faaf1ffff486)

<span style="color: #172b4d">In this case:</span>

- <span style="color: #172b4d">The target of a link is in row 33</span>
- <span style="color: #172b4d">Start to finish link</span>
- <span style="color: #172b4d">0 lag days</span>

<span style="color: #172b4d">The </span><span style="color: #172b4d">**Link **</span><span style="color: #172b4d">cell in Excel:</span>

![Screenshot of an example with a link cell in an exported file.](media://72a2a3cc-ad61-40be-8eae-ebc3be1eae95)

<span style="color: #172b4d">The structure in BigPicture:</span>

![Screenshot of the task structure in the Gantt module.](media://001ea413-b294-4316-8d79-bab47f0e835c)

## <span style="color: #172b4d">Examples</span>

### XLSX templates

<span style="color: #172b4d">The exemplary template presented below consists of three different types of field names:</span>

1. Custom fields from Jira.
2. Global fields supported by BigPicture (BigTemplate is not case-sensitive, so the **Summary **field will be found).
3. System fields from Jira where one of them has the **$yyyy-MM-dd** date modifier added.

When the customized template is ready, you need to upload it. See more on the [Configuration](https://appfire.atlassian.net/wiki/spaces/DLP/pages/297570859/Configuration#addnewtemplates) page.

![Screenshot of an example with an XLSX template.](media://31fa8db4-23d9-41d2-9951-c10679ad371b)

After exporting data using the above template, we receive the following file:

1. Custom fields from Jira have been recognized, renamed, and completed.
2. Global fields supported by BigPicture have been recognized and completed.
3. System fields from Jira have been recognized, renamed, and completed (renaming fields with date modifiers is not supported).
4. The *Key, Parent Row, Issue Type, Summary, and Link* fields are added by default to each exported file.

![Screenshot of an example with an XLSX template.](media://dff8c98b-cf8b-4fb1-b35f-d9025ca4a5df)

### CSV templates

The rule for creating csv templates is the same as for xlsx templates. In the text editor, field names should be separated by commas. When ready, upload your template. See more on the [Configuration](https://appfire.atlassian.net/wiki/spaces/DLP/pages/297570859/Configuration#addnewtemplates) page.

![Screenshot of a CSV template.](media://874e3b5f-7092-43a9-96ea-852538ab04b3)

The exported file looks like this in the text editor:

![Screenshot of an exported CSV file. ](media://01db8f21-a7d3-45f2-a36d-56d9de3557a4)

When you open the exported file in the spreadsheet, you will see the following view:

![Screenshot of an exported file opened in the spreadsheet.](media://63c2e5f1-6b8e-423d-94e7-45e63169f51f)