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.

...

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

Description

Excerpt
hiddentrue
Returns the Ids of all Service Desk organizations.

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));
}

Result: "Company A" "Company B" "Company C"

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jsd_routine" and space = currentSpace ( )
labelsarray_routines

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