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 ! |
Info | ||
---|---|---|
| ||
This routine is available starting with katl-commons SIL Engine™ 1.0. |
Syntax
arraySetElement(array, index1, elem)
...
setElement(array, index1, elem)
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
array | array | Yes | Array where to add the element. |
index1 | number | Yes | Position where to add the element. |
elem | type of array element | Yes | Element to add to the array. |
Returns
Element of the array type
...
Note |
---|
|
Info | ||
---|---|---|
| ||
Starting with version 2.5 we added the indexing operator. It will work on arrays, strings, dates and interval. You can simply write in your programs watchers[12] = currentUser() to refer to the 13 th element in the watchers array. |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|