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


## Description

> Macro (excerpt)
> 
> Retrieves a structure containing information about a project that has been created or deleted.

Retrieves a structure containing information about a project that has been created or deleted.

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

## Return Type

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

## Example

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

The result is a structure containing project id, key, name, description, lead, url, avatar id, project category and type, and information about whether the project issues are unassigned by default.

## See also

> Macro (contentbylabel)