Contents
Table of Contents | ||
---|---|---|
|
...
Inside the DOCX templates you can use all variables but ensure that you do not apply any styles to them. The reason is that a Word application can escape certain parts of the variable name with certain tags and the PDF app then will not be able to evaluate such a variable. For instance, $issue.key will be evaluated as a task's key, but if you apply a style to certain part of it ($issue.key) then the PDF application will keep this variable as is and will not substitute its value in the result document.
...
2. Links issue: How to insert links not as plain text in Word, but as a hyperlink
Currently this is not possible but we plan to implement this feature so stay tuned.
3. Special variables ($fieldRenderer.renderFieldById("..."), $fieldRenderer.renderField("<name>” etc.) to use in the template
Edit with Notepad++ to change the template instead of MS Word and save like an open XML docx document for these variables to be working.
4. Encoding issue: how can I avoid "??" in the exported documents
Atlassian recommends UTF-8 or Unicode encoding, and case-insensitive collation. In most cases, problems are due to a misconfiguration in one of the Jira components.
Thus you should use the UTF-8 character encoding across the database, application server, and web application.
...