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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs