admGetFiltersByName

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 !

Availability

This routine is available starting with SIL Engine 4.8.0.4.

Syntax

admGetFiltersByName(filterName)

Description

Retrieves all the filters identified by the specified name. Filters are not restricted to have unique names so you can have one ore more filters returned.

Parameters

Parameter name

Type

Required

Description

filterName

string

Yes

The name of the filter.

Return type

JFilter []

Returns a list of filters identified by name.

Example

string filterName = "Test";
JFilter []filters = admGetFilterByName(filterName); //is isgnore case
for(JFilter f in filters) {
    runnerLog("Returned filter" + f);
}