Versions Compared

Key

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

Availability

This routine is available starting with SIL Engine™ 4.8.1.

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

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

Syntax

getAllBoardNames([user])

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Get a list of all agile boards visible to the user.

Get a list of all agile boards visible to the user.

Parameters

...

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

Parameter name

Type

Required

Description

User

...

Array of strings

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

String String []

Returns a string array of board names.

Example

...

Code Block
languagejs
for(string bname in getAllBoardNames("admin")) {
	    runnerLog("Board name: " + bname);
}

See also

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

...

agile_

...

routine" and space = currentSpace ( )
labels

...

array_

...

routines