How to add attributes to e-mail template?
![]()
Malaya Sethi (11●30●51)
| asked May 09 '14, 12:55 a.m.
edited May 09 '14, 2:44 a.m. by Krzysztof Kaźmierczyk (7.4k●3●54●99)
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
![]()
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 Hi Malaya,
|