Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC: Getting the former comment in a comment notification

Getting a comment notification today, I couldn't understand the context of it. The comment mail includes the work item title, which is very useful. Would it be possible to include the former comment in a comment notification, to also view what the current comment is responding to? I think it would help user avoiding logging into RTC to be able to understand what many comments are about.
I use RTC 3.0.1.3.

0 votes


Accepted answer

Permanent link
you cannot customize the email contents on 3.x..

version 4 provides support for a customized template.. you could change the template to display last and previous comments
Stephane Rodet selected this answer as the correct answer

1 vote


One other answer

Permanent link
using article 957
here is fragment of a template that will get the last two comment (newest and previous)

#foreach($comment in ${workItem.comments.mostRecentFirst.dropFirst(1).takeFirst(1)})
Previous Comment
${comment.description}
#end

#foreach($comment in ${workItem.comments.mostRecentFirst.takeFirst(1)})
${comment.description}
#end
or you can just display the two

#foreach($comment in ${workItem.comments.mostRecentFirst.takeFirst(2)})
${comment.description}
#end

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,029
× 31

Question asked: Nov 23 '12, 5:34 a.m.

Question was seen: 4,819 times

Last updated: Nov 23 '12, 8:43 a.m.

Confirmation Cancel Confirm