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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | issueInBacklog(issue key[, boardName]) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

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

Checks whether the issue with the provided issue key is in the board backlog.If you don't provide the board, the plugin will try to look through all boards to see if issue is in a backlog.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| issue key | String | Yes | The issue key |
| boardName | String | No | The board name or id |

## Return Type

**Boolean**

'True' if issue is in backlog, 'false' otherwise.

## Example

```
boolean result = issueInBacklog("AGILE-3");
// or
boolean result = issueInBacklog("AGILE-3", "agileBoardName");
```

> ⚠️ 1. If there is no issue with that issue key, an exception will be raised.
> ⚠️ 2. If no board is found, an exception will be raised.
> ⚠️ 3. The user must have enough permissions to perform this action.

## See also

> Macro (contentbylabel)

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