I am trying to send a custom email to Project Leads based on the Reporter field. I've got Script Runner v2.1.4 and JIRA v6.0.2
I have followed the instructions here:
and was able to run the preview using the following:
condition: issue.reporterId == "sd.auto.submit"
email template: Dear Project Lead ........
email subject: A new Auto-Submit issue
email format: plain text
to issue fields: projectLead
When I preview the email with my test configurations, the conditions validate to true or false (based on the preview issue key).
I then went to the workflow to add the Post Function, but I do not have a 'Send Custom Email' post function. Where/How do I find the Post Function?
Looking at the modules for the plugin, all modules are enabled.
In post-function , you can find "Script Post-Function" option. This one is the correcti option.
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.