Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,sheading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getJSDCommentPrivacy

getAllBoards([username])

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns an array of JBoard type structs for every agile board.

Returns an array of JBoard type structs for every agile board.

...

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

Parameter name

Type

Required

Description

Username

username

String

No

Optional username parameter to specify a user who can retrieve the board information. By default the current user (user who executed the script) is used and it is possible that the user may not have permissions to view the board.

Return Type

JBoard []

Returns an array of JBoard structs.

Example

Code Block
languagejs
for(JBoard board in getAllBoards("admin")) {
    runnerLog("Board id: " + board.id);
    runnerLog("Board name: " + board.name);
    runnerLog("Board type: " + board.type);
    runnerLog("Board saved filter Id: " + trim(board.savedFilterId));
    //see the JBoard structure type for more fields available for boards
}

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "

...

agile_routine" and space = currentSpace ( )
labelsarray_routines