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


## Description

> Macro (excerpt)
> 
> Retrieves information about a specific epic.

Retrieves information about a specific epic, which is a larger work item that often encompasses multiple user stories or tasks, helping to organize and track complex projects.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getEpic(id) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| id | String | Yes | The epic id or key |

## Return Type

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

The epic structure

## Example

```javascript
JEpic epic = getEpic("TEST-1");
runnerLog("Id: " + epic.id);
runnerLog("Name: " + epic.name);
runnerLog("Summary: " + epic.summary);
```

## See also

> Macro (contentbylabel)