...
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.
...