Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to add attributes to e-mail template?

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.

0 votes



One answer

Permanent link
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.

0 votes

Comments

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: May 09 '14, 12:55 a.m.

Question was seen: 5,293 times

Last updated: May 09 '14, 5:08 a.m.

Confirmation Cancel Confirm