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!
If you intend to share the same files over multiple tickets, I suggest putting the common attachments on a cloud or in a shared folder where there recipients of the email would be able to access and provide a link in the email being sent out.
Thank you and Kind regards,
Ram
Hi Maria,
This would usually require integration with the other tool and may need more than scriptrunner (more than likely does). You would need a tool (custom app most likely unless the server hosting it has an app, like aws has some apps) in Jira that can call those assets
However, there could be security concerns making these types of calls and then sending that data via email. Email itself isn't the most secure, so if those attachements contain anything secure and you aren't using a public instance of jira I would recommend against attempting this and instead send links to the server instead, as this would more than likely require additional authorization to see the images limiting security risks.
Best,
Clark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.