admGetAllOwnedFilters

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

admGetAllOwnedFilters(owner)

Description

Retrieves a list with all the filters owned by a user.

Parameters

Parameter name

Type

Required

Description

owner

string

Yes

The key or username of the owner.

Return type

JFilter []

Returns a list of filters owned by the specified user.

Example

JFilter []filters = admGetAllOwnedFilters("user");
for(JFilter f in filters) {
	runnerLog("Filter name: " + f.name + "\n" +
			  "Filter description " + f.description + "\n" +
			  "Filter owner "+ f.owner + "\n" +
              "Filter query "+ f.query);
}