The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
copyBoard(board)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Create a copy of the provided board. |
Create a copy of the provided board.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
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
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) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.