Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleAvailability

This routine is available since starting with katl-commons 2.5.7.

Syntax

...

arrayUnion(arrayName1, arrayName2)

Description

...

Excerpt

Union between two arrays.

Parameters

...

Parameter name

Type

Required

Description

arrayName1

array

Yes

The first array.

arrayName2arrayYesThe 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 which contains the unique elements from developers and administrators.

 

See

...

also

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "array_routines"
labelsarray_routines