Has anyone been able to generate scriptrunner code that fires from the workflow, post-transition to send an email with email attachments stored on a server and not on the ticket? I have a request to generate an email where I take the email address and recipient first name from the current ticket but I attach three generic documents stored somewhere on a server. The same three docs would need to be emailed from multiple tickets over time so we wouldn't want to keep attaching the same three documents over and over on various tickets. This is for a vendor set up process so only when we wanted to set up a new vendor would we fire the post-transition script to send the email with the three attachments.
This is for Jira DataCenter.
Any ideas/help would be much appreciated!