---
title: "Text File Templates"
canonical: "https://docs.getxporter.app/space/XPORTER/1413741/Text%20File%20Templates"
format: markdown
---
A Text File (TXT) Template is a normal Template that can contain anything from HTML, XML, to random text.

You can combine all these random text with all of [Xporter for Jira](https://marketplace.atlassian.com/apps/891368/xporter-export-issues-from-jira?tab=installation&hosting=datacenter) functionality to create generic Templates that can be whatever you want.

Xporter for Jira will officially let you export TXT templates to the following output types:

- TXT.
- HTML.
- XML.
- JSON.

If you need any other output type that is not one of these four, you can export the Template to TXT and change the file type after the exportation.

TXT templates can be invoked on every action of Xporter for Jira:

- Single mode.
- Bulk mode.
- [Schedule Reports](https://docs.getxporter.app/space/XPORTER/1409498).
- Xporter Reports.
- Post functions.

> ℹ️ This functionality limits some parts of exporting with Xporter for Jira. For example, adding page breaks in a Bulk Exportation is not permitted with TXT templates.

## Creating a file with HTML Content and Information from Jira

You can create a Template with HTML content and information from Jira via Xporter for Jira by creating a TXT Template.

> Macro (rw-ui-steps-macro)
> 
> > Macro (rw-step)
> 
> Add [mappings](https://docs.getxporter.app/space/XPORTER/1413922) in the same way you would do in a DOCX Template; the only difference is that you are going to be using a TXT file.
> 
> > Macro (rw-step)
> 
> Here's an example of HTML content with Xporter for Jira syntax (Figure 1):
> 
> ![Figure 1 - HTML example](media://c1f0c2d9-69ec-4922-80b4-ada51c50a2d1)
> 
> > Macro (rw-step)
> 
> After uploading this Template to Xporter for Jira and [exporting](https://docs.getxporter.app/space/XPORTER/1409732), the result file content is as follows (Figure 2):
> 
> ![Figure 2 - HTML example](media://0bb1c326-8355-4d40-99a9-b7adfd589db2)
> 
> > Macro (rw-step)
> 
> Xporter for Jira generated a valid HTML code in the exported TXT file. After this, change the file extension to HTML and you are good to go.
> 
> The example above illustrates only one example of this feature; you can do this with many other types of content.


<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/XPORTER/23102936).
</details>