Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | arrayUnion(arrayName1, arrayName2) | Package | array | Alias | | Pkg Usage | union(arrayName1, arrayName2) |
|
Description
Excerpt |
---|
|
Union between two arrays. |
Union between two arrays.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
arrayName1 | Array | Yes | First array. | arrayName2 | Array | Yes | Second array. |
|
Return Type
Array
Example
Code Block |
---|
|
string[] developers= usersInGroups({"jira-developers"});
string[] administrators = usersInGroups({"jira-administrators"});
return arrayUnion(developers, administrators); |
The result returned by the routine is an array that contains the unique elements from developers and administrators.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "array_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|