---
title: "selectIssuesByFilter"
canonical: "https://support.appfire.com/space/PSJ/15485119/selectIssuesByFilter"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | selectIssuesByFilter(filterName[, owner [,overrideSecurity]]) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns an array with the keys of the issues obtained by running the given filter.

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

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| filter name | String | Yes | Name of the search filter to be executed. |
| owner user name | 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. |

## Return Type

**String []**

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

## Examples

### 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

> Macro (contentbylabel)