Are custom attributes supported when modifying the work item email templates in RTC 4.x?
When looking at the documentation for customizing the Work Item Email Template I didn't see any mention of custom attributes being supported or no. One of our customers wants a couple custom attribute values to appear in the subject heading.
Is this possible? |
Accepted answer
yes, you have to use the ID's of the custom attributes
${workItem.get("attribute_id")}
It is possible to acquire the values of custom attributes using the
${workItem.get(...)}
. Unless the attribute type is one of the specified supported types, the return type will always be a text type. For instance, the value returned for an attribute with an enumeration type will be the label and of type Text. Similarly an attribute of type Enumeration List can be accessed but the returning value will be be a comma separated string.
Michael Walker selected this answer as the correct answer
Comments
Michael Walker
commented Jan 07 '14, 6:59 p.m.
Thanks...I only looked in the product documentation. Should've looked at the articles also.
|
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.
Comments
deleted