ia XSLT and XSL-FO, very different templates can be created individually. If you know the technology, you have various options to design them. In this documents, you get the basic information to manage this.
JIRA Issues as XML Data
The following example XML document shows you how to edit in your XSLT stylesheet.
JIRA fields that can be used within templates
The elements in the issue view, marked with colored circles, are partially part of the existing templates or can be used to create new templates. Apache FOP is used to transform templates in XSL-FO format (in a special XSL style sheet, W3C-Standard) for direct printing or .pdf creation.
Placeholder for JIRA entries for use in templates
You can use the following place holders in the templates for the items marked in the issue view above. To test all fields, the template InstaPrinta for JIRA - Template Creation Guide 2.3.0 can be used.
Custom template examples
4 issues on one A4 page
The first thing to ajust is the default paper format: Change it to A4 landscape within <fo:simple-page-master>. Then define two columns in the Tag <fo:region-body>:
The next think to ajust is <page-sequence>:
Then use the xsl template definition <template match="issue"> to rint your specific issue layout.
Please see the complete XSL file for a working example: FourOnA4.xsl
Changing the paper format
Download a template from the "InstaPrinta Global Configuration" page and open it with a text-editor of your choice. Now jump to the 10th line and customize the paper format:
page-height="10.5cm" page-width="14.8cm" margin="0.5cm" margin-top="0.5cm">
Instead of cm (centimeters) you can also use in (inches).
Upload the template under a new name and that's it.
Inserting blank lines
Insert the following code block to create blank lines: