---
title: "issueInEpic"
canonical: "https://support.appfire.com/space/PSJ/15480792/issueInEpic"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | issueInEpic(issue key, epic key) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Checks whether the issue with the provided issue key is in the epic.

Checks whether the issue with the provided issue key is in the epic.

## Parameters

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

## Return Type

**Boolean**

'True' if issue is in the epic, 'false' otherwise.

## Example

```
boolean result = issueInEpic("AGILE-3", "AGILE-2");
```

> ⚠️ If there is no issue with that issue key, an exception is raised.

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)