Warning |
---|
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here ! |
Excerpt |
---|
In addition to the local variables defined in a SIL SIL™ program and issue variables (Variable resolution), there are environment variables. These are global constants you can access in any SIL SIL™ program using the silEnv routine. |
...
Code Block | ||
---|---|---|
| ||
VAT=0.24 |
...
2. Retrieve the value in the SIL SIL™ program and then use it just like any other variable. Make sure you cast it to your designated type (in our case, a number).
Code Block |
---|
number VAT = silEnv("VAT"); number price = customfield_10019; print("VAT is:" + (price * VAT)); |