Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending custom email from Builtin Scripts Post Function missing

JT
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 12, 2013

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

1 vote
Answer accepted
Raju KC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 12, 2013

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

0 votes
Justin Leader August 12, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events