Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.

Availability

This routine is available starting with katl-commons 2.5.15 / 2.6.7.

Syntax

selectIssuesByFilter(filterName [, owner [, overrideSecurity]])

Description

Returns an array with the keys of the issues obtained by running the given filter.

Parameters

Parameter name

Type

Required

Description

filterName

string

Yes

Name of the search filter to be executed.

ownerstringNoUsername for the owner of the filter. If parameter is missing, the owner is considered to be the current logged in user.
overrideSecuritybooleanNo

Set to true to bypass any issue security.

Availability

This param is available starting with version 4.8.0.10 of Sil Engine .

Return Type

string []

Returns a list of issue keys that match the query of the specified filter.

Example

Example 1

selectIssuesByFilter("filter1", "admin");

Result: An array of strings containing the keys of the issues that are obtained by running the filter named "filter1" that has the owner "admin".

Example 2

selectIssuesByFilter("filter1");

Result: An array of strings containing the keys of the issues that are obtained by running the filter named "filter1" that has the owner the current logged in user.

See also