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


## Description

> Macro (excerpt)
> 
> Moves issues or tasks back to the backlog from their current state or sprint.

Moves issues or tasks back to the backlog from their current state or sprint, typically done when they are reprioritized or postponed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | moveIssuesToBacklog(array_of_issue_keys, boardId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| array_of_issue_keys | String [] | Yes | The issue keys you want to move |
| boardId | Integer | Yes | Board id |

## Return Type

**Boolean**

True if the move is ok

## Example

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

Returns true if successful, false if otherwise.

## See also

> Macro (contentbylabel)