/
copyBoard
copyBoard
Availability
This routine is available starting with Power Scripts 4.5.8.
Syntax
copyBoard(board)
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
boolean (until 4.8.0.8, including)
True if the board was successfully copied.
number (from 4.8.0.9 and up)
The id of the newly created board, so you can modify it further, or null number (NaN) if the board cannot be copied.
Version 4.8.0.9 breaks backward compatibility, but we feel it's an improvement rather than a problem. Please modify the scripts accordingly.
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.
Related content
createBoardFromExistingProjects
createBoardFromExistingProjects
More like this
copyBoard
copyBoard
More like this
updateBoard
updateBoard
More like this
deleteBoard
deleteBoard
More like this
--copyItemUpdates
--copyItemUpdates
More like this
--copyUpdates
More like this