How to add attributes to e-mail template?
Malaya Sethi (11●35●52)
| asked May 09 '14, 12:55 a.m.
edited May 09 '14, 2:44 a.m. by Krzysztof Kaźmierczyk (7.5k●4●80●103)
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
Krzysztof Kaźmierczyk
commented May 09 '14, 5:08 a.m.
Hi Malaya,
|
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.