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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | copyBoard(board) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Create a copy of the provided board.

Create a copy of the provided board.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| board | String | Yes | The name or the id of the board to be copied. |

## Return Type

**Number**

The id of the newly created board, so you can modify it further, or null number (NaN) if the board cannot be copied.

## Example

```
//pre 4.8.0.9
boolean isCopied = copyBoard("DEMO");
// post 4.8.0.9 (incl.)
number newBoardId = copyBoard("DEMO");
```

Result: The result will create a copy of "DEMO" board named "Copy of DEMO" and isCopied will return true.

## See also

> Macro (contentbylabel)

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