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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getBoardName(id, [user]) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Gets the name of an agile board.

Gets the name of an agile board.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| Board id | Number | Yes | Id of the board to retrieve the name for. |
| Username | 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 an array containing the board name and the board owners username.

## Example

```javascript
return getBoardName(2);
```

Result: Development Board|adminUser

## See also

> Macro (contentbylabel)

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