It's all about the answers!

Ask a question

How to add attributes to e-mail template?


Malaya Sethi (113552) | asked May 09 '14, 12:55 a.m.
edited May 09 '14, 2:44 a.m. by Krzysztof Kaźmierczyk (7.5k480103)
Need a tag for custom fields for putting in email template in RTC. Please help.

I have following custom fields in defect workitem.

Target Release: this is text filed

RCA: this is a enumuration filed and


Closing Date: this is a date filed.

please help ASAP.

One answer



permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered May 09 '14, 2:42 a.m.
Hi Malaya,
According to https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.workitem.doc/topics/r_email_template_variables.html&scope=null:

The WorkItem type gives access to any attribute of the work item by using its ID: get(id) . For example, you can use ${workItem.get("my.custom.attribute.id")} to reference custom attributes. Note that the type of the return value depends an the attribute type. Because the teamArea property can be null, you should check whether it is null before accessing it.

Please let us know if that helps.

Comments
Krzysztof Kaźmierczyk commented May 09 '14, 5:08 a.m.

Hi Malaya,
I have moved your next question to separate topic: https://jazz.net/forum/questions/150871/how-to-get-work-item-history-in-e-mail-notification

Your answer


Register or 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.