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


## Description

> Macro (excerpt)
> 
> Retrieves a board structure from the event.

Retrieves a board structure from the event. Useful when treating sprint created/updated/deleted/configuration board events.

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

## Return Type

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

## Example

```javascript
logPrint("INFO", "Result of listener: " + getBoardFromEvent());
```

Returns the JBoard, if any in the event.

## See also

> Macro (contentbylabel)