I need advice.
I use built-in script "Send custom email": https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-SendCustomEmail
Event: Issue commented
Condition: issue.status?.name == 'New'
Subject template: Issue $issue was commented
How can I paste new comment in 'Email Template'?
Thanks for finding that Daniel... however I think that will fall over when there are no comments.
I have updated the sample template in https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Sendacustomemail (Point 3).
Make sure you use the if, or if you don't, at least test it with an issue with and without comments in builtin scripts -> Send a custom mail (which is used for testing templates).
simply adding the line:
should "paste" the new comment into the email.
You should check https://confluence.atlassian.com/display/JIRA043/Velocity+Context+for+Email+Templates for more info.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG