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


## Description

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

Retrieves a sprint structure from the event. Useful when treating sprint created/updated/deleted/started/closed event.

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

## Return Type

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

## Example

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

Returns the JSprint, if any in the event.

## See also

> Macro (contentbylabel)