Syntax
executeGroovyScript(<groovy>
...
Return type
string
Examples
Code Block |
---|
runnerLog(return executeGroovyScript("return 'Hello World!'")); |
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(return executeGroovyScript("return issue.getKey()")); |
See also
Filter by label (Content by label)
Code Block |
---|
return executeGroovyScript(readFromTextFile("GroovyFiles/myGroovyFile.txt")); |