...
Jira SIL™ interpreter basically extends the capabilities of the standard interpreter. The standard SIL™ Interpreter provides a registry for all routines functions and the Issue SIL™ Interpreter adds the additional routines into functions into this registry including Jira interactions.
...
Just like any other programming language, a standalone SIL™ program contains variables, functions, and conditional and repetitive clauses. Putting this inside a Jira context enables you to use Jira related routines functions like createIssue or linkIssue (so the script "has Jira context"). Adding an issue context inside the Jira context (so the script "has an issue context"), enables you to use field values stored on the issue, regardless of whether they are standard fields like summary, description, assignee, or custom fields.
...
Outside Jira | Inside Jira | ||||
---|---|---|---|---|---|
|
|
...
What happens in case of an error? If a program throws an exception, we do not want to corrupt the issue data by storing only the changes that were made before the error occurred, so we just throw it all out and report the error, leaving the issue as it was.
Warning |
---|
Routines Functions exceptionAt the moment certain routines functions (like createIssue) cannot be undone automatically and will persist their changes regardless of whether the script was read-only or if there was an error. |