...
Whenever you run a SIL script, the runtime environment provides both a Jira scope and an issue context. With a Jira scope, this allows you access to SIL-defined routinesfunctions, structs and variables. The Jira scope also provides issue context. This allows you to access Jira issues inside the runtime environment.
...
The block scope extends to user-defined routines functions and loops.
Additional Help
...