I performed several tests on appeal "Send a custom email" in "Script Runner Builtin" it works for viewing and sending email. But when I insert the script in "Post-Function" in Transition "Create Issue" it does not send e-mail and returns no error.
Here are the codes used
Condition: ['Blocker']. Contains (issue.priority '. Name)
Email template: The $ $ issue.issueType.name issue.key was created with priority <% Out << issue.priority '. Name%>. <br>
Summary: $ {} issue.summary <br>
Responsible: $ {issue.assignee '. Name}
Subject template: The Bug Blocker: $ issue was created | DISCLAIMER |
Email format: HTML
To addresses: e-mail address
What could be wrong?
Either answers is screwing your formatting or your code is wrong... can you paste a screenshot?
Or try the same code in the admin panel -> send email function, this will show you what the email will look like and evaluate the condition and stuff.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.