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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.