Skip to end of banner
Go to start of banner

selectIssuesByFilter

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

  • No labels