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


> 📝 The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | boardForFilter(filterName) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Gets the board associated with a filter

Gets the board associated with a filter

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| filterName | String | Yes | The filter name |

## Return Type

**String**

The board name

## Example

```
string board = boardForFilter("Filter for Agile project");
```

> ⚠️ If there is no filter found with that name, an exception will be raised.

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)