Advanced features

Advanced features

This section describes solutions enabling you to make your scripts cleaner and create scripts that can be adapted to your target system immediately.

Features Summary

Persistent variables

A persistent variable is a variable that continues to exist outside of the scripts execution.

Environment variables

In addition to the local variables defined in a SIL™ program and issue variables (Variable Resolution), there are environment variables. These are global constants you can access in any SIL™ program using the silEnv function.

Custom fields aliases

Aliases represents a powerful tool to refer custom fields indirectly making your scripts function obvious.

SIL Template language

The SIL Template Language allows you to quickly build large amounts of text, or HTML, using a template that can be populated using dynamic variables.

Arguments (argv variable)

The argv variable is a predefined array in SIL scripts that enables passing arguments to scripts, allowing dynamic behavior across different execution contexts like Gadgets, Schedulers, and function calls.

Executing scripts locally

Scripts can be executed locally, though connections to databases, mail servers, LDAP, and other external systems may not be available in this environment.

Processing large batches

The saveModifiedIssues() function optimizes memory management when processing large sets of Jira issues, preventing memory overflow by efficiently saving changes and releasing resources—essential for scheduled jobs, ad-hoc scripts, and bulk issue processing workflows.

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.