Hi,
I have to achieve the following goal in JIRA cloud-
Here is what I tried-
But the scripts didn't work at all specially because in Jira cloud we don't have a location to store the file from where it can be fetched.
I'm new to Jira Cloud and using REST API, hence, there may be some method that I don't know about which can fulfill the requirement.
Hence, requesting for help.
I have the following plugins-
1) Scriptrunner
2) Automation for JIRA (Paid version)
3) BetterPDF Exporter
Thank You!
Hi Manish,
I can confirm with ScriptRunner that adding an attachment to an issue is possible by calling the Add Attachment API.
However, it is impossible to generate a PDF as this would require extra dependencies, which we do not support as we only support using the standard Java 11 packages as documented here.
This means it is impossible to generate the PDF to attach to the issue using ScriptRunner for Jira Cloud.
However, you could generate HTML instead of using ScriptRunner, similar to the approach shown in the example here and then attach this to the issue as a workaround.
I hope this information helps.
Regards,
Kristian
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.