You can use Script Variables to specify variables that can be inserted into your scripts (Script Console, Script Listeners, Workflow Post Functions, Scheduled Jobs, Escalation Service). The variables are encrypted and stored in your Jira Cloud instance. You can use them to share common variables between your scripts, or to store sensitive data such as passwords that require encryption rather than hard-coding them directly in scripts.
Please remember that a variable has a String value type, even if the value is a number.
Variable names must follow these rules:
start with a letter
only capital letters are allowed
only digits and underscore character (_) are allowed
Length limits for variables include:
name is 32 characters
value is 128 characters