Sending custom email from Builtin Scripts Post Function missing

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:

https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts?src=contextnavchildmode#Built-InScripts-SendCustomEmail

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.

2 answers

1 accepted

In post-function , you can find "Script Post-Function" option. This one is the correcti option.

I'd really recommend using the email this issue plugin.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,187 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot