It's all about the answers!

Ask a question

Include sender name/e-mail address in @me mail message

Patrick McMahon (1111) | asked Jun 25 '15, 12:08 p.m.
 I would like to be able to include the name of the individual who "mentioned" someone in the e-mail template.

For example:

<b>John Doe</b> <> mentioned you in a comment about work item <a href="${workItem.URL}"> ${workItem.identifier}</a>

Is there a way to do that?



One answer

permanent link
Donald Nong (14.5k414) | answered Jun 26 '15, 2:21 a.m.
edited Jun 26 '15, 2:23 a.m.
Try this although I don't know how reliable the code is
#foreach($comment in ${workItem.comments.mostRecentFirst.dropFirst(0).takeFirst(1)})
#end mentioned you in a comment about work item ${workItem.identifier}

Your answer

Register or to post your answer.