Groovy Template is a templating engine for JavaScript. It lets you insert dynamic content into any text through the use of templates. A template contains variables and/or expressions, which get replaced with values when a template is rendered. This is very similar to JSP markup.
...
Note that you can also "print" to the text: If you would like to print the components of the project:
Code Block | ||
---|---|---|
| ||
<% issue.getAvailableOptions("components").each() { print "Component: "+ it.name + "\n" } %> |
...