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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getAllBoardNames([user]) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Get a list of all agile boards visible to the user.

Get a list of all agile boards visible to the user.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| User | String [] | No | Optional username parameter to specify a user who can retrieve the board information. By default the current user (user who executed the script) is used and it is possible that the user may not have permissions to view the board. |

## Return Type

**String []**

Returns a string array of board names.

## Example

```javascript
for(string bname in getAllBoardNames("admin")) {
    runnerLog("Board name: " + bname);
}
```

## See also

> Macro (contentbylabel)

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