copyBoard
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.
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
Peacock