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 since katl-commons 2starting with SIL Engine™ 2.5.7. |
Syntax
...
arrayIntersect(arrayName1, arrayName2)
Description
...
Excerpt |
---|
Intersect between two arrays. |
Parameters
...
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 arrayIntersect(developers, administrators); |
The result returned by the routine is an array which that contains the unique elements found in both developers and administrators groups.
...
Code Block |
---|
return usersInGroups({"jira-developers", "jira-administrators"}); |
That's it.
See
...
also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|