we are trying to implement "Send an email based on the provided template if conditions are met" using script runner plugin. Our problem is how to write the email template which is same as built in template for sending mails. Can't we use the existing velocity templates for this or else is there any sample html templates ?
Read the JIRA ScriptRunner documentation and example for the "Post-functions Send a Custom mail"
https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html
It looks like you're new here. Sign in or register to get started.