Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. 

...

(info) Note that you can also "print" to the text: If you would like to print the components of the project:

Code Block
linenumberstrue
<% issue.getAvailableOptions("components").each() {
  print "Component: "+ it.name + "\n"
}
%>

...