It's all about the answers!

Ask a question

How to add attributes to e-mail template?

Malaya Sethi (113452) | asked May 09 '14, 12:55 a.m.
edited May 09 '14, 2:44 a.m. by Krzysztof Kaźmierczyk (7.4k475103)
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.4k475103) | answered May 09 '14, 2:42 a.m.
Hi Malaya,
According to

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("")} 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.

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

Hi Malaya,
I have moved your next question to separate topic:

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.