Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
This routine is available starting with Power Scripts 4.5.8.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

copyBoard(board)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Create a copy of the provided board.

Create a copy of the provided board.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

board

...

String

Yes

The name or the id of the board to be copied.

Return

...

boolean (untilĀ 4.8.0.8, including)

True if the board was successfully copied.

...

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.

Warning

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

Code Block
//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

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "agile_routines" and space = currentSpace ( )
labelsarray_routines