copyBoard
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
Description
Create a copy of the provided board.
Parameters
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