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,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getAllOrganizationIds()

Package

Alias

Pkg Usage

...

Returns the Ids of all Service Desk organizations.

Return Type

Number []

Returns a number array of organization Ids.

Examples

Example 1

Code Block
languagejs
return getAllOrganizationIds();

Result: 11|12|13|14.

Example 2

Code Block
languagejs
for(number id in getAllOrganizationIds()) {
    runnerLog(getOrganizationNameById(id));
}

...