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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getBoardsFromSprint(sprintId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns a list of board names for a sprint.

Returns a list of board names for a sprint.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| Sprint Id | Number | Yes | The id of the sprint to retrieve boards for. |

## Return Type

**String []**

## Example

```javascript
return getBoardsFromSprint(101);
```

Result: Returns an array of board names "Test Board 1|Test Board 2|Test Board 3".

## See also

> Macro (contentbylabel)

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