Customise word export template for JIRA applications
The content on this page relates to platforms which are not supported. Consequently, Atlassian Support cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.
- The output of word export is controlled by the four velocity templates located at atlassian-jira/
WEB-INF/classess/templates/plugins/issueviewslocated under JIRA applications Installation Directory.
single-word-css.vm- Defines the html styles used for export
single-word-header.vm- Defines the header part of the exported document
single-word.vm- The content part of the exported document
single-word-footer.vm- The footer part of the exported document
- Open these files in your favorite text editor and make the required changes and save it.
- Restart the application.
There is a New Feature for this functionality to be handled within the core of JIRA applications, as tracked at: - JRA-12813Getting issue details... STATUS Please vote and watch that issue if you're interested in the functionality.
Example: Changing Word Export to A4 size
- Access single-word-css.vm.
- Open in a text editor and Add the following css under <style type="text/css">:
/The A4 paper size is 210 mm wide by 297 mm long/
size: 210mm 297mm!important;
Save and restart your JIRA application.
This article is valid only for Server version of JIRA, if you have a Cloud installation you won't be able to follow these instructions