Hi.
I found many questions and answers about velocity templates in Confluence. And what about JIRA?
I have tried example from this page:
// Create the Velocity Context
Map context = MacroUtils.defaultVelocityContext();
context.put("myCustomVar", customVar);
context.put("otherCustomVar", otherCustomVar);
// Render the Template
String result = VelocityUtils.getRenderedTemplate("/com/myplugin/templates/macro.vm", context); but I cannot find appropriate packages for MacroUtils and VelocityUtils in JIRA.
What packages I need to user for it? Or does exists anything else way to use velocity templates in JIRA?
Thanks.