Versions Compared

Key

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

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Info
titleAvailability

This routine is available starting with katl-commons SIL Engine™ 4.0.

Syntax

executeTemplate(template_path[, charset] )

...

Excerpt

Executes a template. All variables already defined in the script are passed onto to that template.

This routine obeys the context in which it is called. If you call it in an issue context, you can access issue fields in the template; , if not , you can'tcannot.

Returns the string that represents the completed template.

Parameters

Parameter name

Type

Required

Description

template_path

string

Yes

The template path, either absolute or relative. Note that if relative, this path is based on KEPLER_HOME directory, and not to the mail templates directory

!

.

charset

string

No

Specifies the charset used to read that template.

Return type

string

Example

Following template is represented below:

...

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "string_routines"
labelsstring_routines