How do I properly check work item type in the e-mail Message at Me template?
Hello,
I have the following in my message at me email template, and it doesn't throw any syntax errors. How do I properly check against the work item type?
<tr>
<td>#set ($v = ${workItem.type}) #if ($v.toString().equalsIgnoreCase("Defect")) Test #end</td>
</tr>
I can't find any documentation on this.
|
Accepted answer
See https://jazz.net/wiki/bin/view/Main/EmailTemplates#Variable_Types
you can of course echo the results to see what it is.. using the test mode against specific workitems #{v} Marek Siekierski selected this answer as the correct answer
|
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.