---
title: "getAllBoards"
canonical: "https://support.appfire.com/space/PSJC/567574550/getAllBoards"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Retrieves a list of all boards within a project or system.

Retrieves a list of all boards within a project or system, offering an overview of the available boards and their respective purposes.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getAllBoards() | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Return Type

**[JBoard []](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

Returns all the boards it can find.

## Example

```javascript
JBoard [] boards = getAllBoards();
for(JBoard b in boards) {
    runnerLog("Id: " + b.id); 
   runnerLog("Name: " + b.name);
}
```

## See also

> Macro (contentbylabel)