Script for generating pdf (better pdf)

Hi!

We use the Better PDF plugin. Currently, generating and sending PDF via email is configured on the automator. But we need to rewrite it to SIL or Groovy.

I found documentation, but I can’t figure it out.

REST API - Better PDF Exporter for Jira | Midori

Java/Groovy API - Better PDF Exporter for Jira | Midori