note

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

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

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

defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockbb0360af-0913-4cd5-b69f-54ba0ccd2d0fari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockb221b5e8-a7c4-4a6a-a51f-f656af9c1794defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockbb0360af-0913-4cd5-b69f-54ba0ccd2d0fari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockb221b5e8-a7c4-4a6a-a51f-f656af9c1794