Work Items E-mail templates: velocity template language substring
Hi,
I 'm currently doing some configuration stuff in Work Items E-mail template settings for Project Area.
I need to change wi summary mail notification, that is, I need to display first thee characters of project area where work item change happened.
I managed to get project name in wi summary by setting ${workItem.projectArea}, but now I need somehow get first tree characters from this variable.
Does anyone has idea how to do it?
I googled VTL syntax and tried with ${workItem.projectArea.substring(0,3)} but it doesn't work :(
Thanks,
Milan