Andreas Lundström asked this question · 11 karma · Jun 11 '12 at 02:32 AM
How can I init() velocity and make use of a velocity template within JIRA for something other than, for example, a customfield?
Say that I wanted to make a custom message as a comment or something - upon issue created via an event listener, lets say I want something simple like using the example from http://velocity.apache.org/engine/devel/developer-guide.html#thevelocityhelperclass but having the variables "name" and "project" set via selections in custom fields?
EDIT: if I used the example from apache I get this error..
The specified class for ResourceManager (org.apache.velocity.runtime.resource.ResourceManagerImpl) does not implement org.a pache.velocity.runtime.resource.ResourceManager; Velocity is not initialized correctly.