Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 4

...

titleAvailability

...

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

Cloud Syntax

...

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the Ids of all Service Desk organizations.

Cloud Description

excerpt

Returns the Ids of all Service Desk organizations

...

Cloud Parameters

...

Parameter

...

Type

...

Required

...

Description

...

Return type

Number []

.

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"

Cloud Example

...

"

...

Result: 1|2|3.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jirajsd_group_routine" and space = currentSpace ( )
labelsjira_group_routinearray_routines

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