Syntax
executeGroovyScript(<groovy>
Description
Excerpt |
---|
This routine will execute groovy scripts from within the SIL language. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
groovy | string | Yes | The code to be executed |
Return type
string
Examples
Code Block |
---|
runnerLog(executeGroovyScript("return 'Hello World!'")); |
Note |
---|
The issue variable is available within groovy scripts. The issue variable contains the reference to the issue, under which the script is being executed. |
Code Block |
---|
runnerLog(executeGroovyScript("return issue.getKey()")); |
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|