Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getAllSpace()

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns a string array with the keys of all spaces in Confluence.

Returns a string array with the keys of all spaces in Confluence.

Parameters

None

Return type

...

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

Parameter name

Type

Required

Description

Return Type

string []

Returns a list of keys for all spaces in Confluence.

Example

Code Block
languagejs
string [] spaces = getAllSpaces();
print(spaces);

Results: prints a list with all the space keys in Confluence. If we have 2 spaces PRJ and TST, the logs will show PRJ|TST

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "psspace_conf"routines" and space = currentSpace ( )
labelsjira_comment_routinearray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.