It's all about the answers!

Ask a question

How do I properly check work item type in the e-mail Message at Me template?

Marek Siekierski (817510) | asked Aug 07 '14, 5:22 p.m.
edited Aug 07 '14, 5:22 p.m.

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?

  <td>#set ($v = ${workItem.type}) #if ($v.toString().equalsIgnoreCase("Defect")) Test #end</td>

I can't find any documentation on this.

Accepted answer

permanent link
sam detweiler (12.5k6195201) | answered Aug 07 '14, 5:40 p.m.

you can of course echo the results to see what it is.. using the test mode against specific workitems

Marek Siekierski selected this answer as the correct answer

Your answer

Register or to post your answer.