selectIssuesByFilter
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 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. |
owner | string | No | Username for the owner of the filter. If parameter is missing, the owner is considered to be the current logged in user. |
overrideSecurity | boolean | No | 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