Skip to end of banner
Go to start of banner

getAllSpaces

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Syntax

getAllSpaces()

Description

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

Parameters

None

Return type

string []

Returns a list of keys for all spaces in Confluence.

Example

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

See also

  • No labels