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


## Description

> Macro (excerpt)
> 
> Links multiple issues to a specific epic.

Links multiple issues to a specific epic, making it clear that these issues are part of the epic's scope and objectives.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | addIssuesToEpic(array_of_issue_keys, epicId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| array_of_issue_keys | String [] | Yes | issues you want added on the epic |
| epicId | Integer | Yes | The epic id |

## Return Type

**Boolean**

True of operation succeeded

## Example

```javascript
string [] issues = "TEST-1|TEST-2|TEST-3";
return addIssuesToEpic(issues, "TEST-123");
```

Returns true if successful, false if otherwise.

## See also

> Macro (contentbylabel)