For one of our customer, we need to implement a custom feature that will generate a PDF file from an issue, containing all fields set for this issue. The client would like to avoid custom plugin development and would rather work with groovy scripts.
The aim is to upload the generated PDF to a folder on a distant server, along with the issue’s attachments, if available.
Our client is using Jira Server 7.13.1 and Scriptrunner.
Is there a REST endpoint in the API or a java API designed to perform this operation? If not, is there a way to programatically export the issue in another format that can be converted to PDF later using the PDF velocity template of Jira?