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. 

...

For single-statement expressions, you can also use the following shortcut:

Code Block
linenumberstrue
${issue.getKey()}


To simply execute a Groovy code and not output the result, write your Groovy code as <% some Groovy code %>. For example:

...