...
title | Availability |
---|
...
The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
Table plus | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Cloud Syntax
...
|
Description
Excerpt | ||
---|---|---|
| ||
Returns the Ids of all Service Desk organizations. |
Cloud Description
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 | ||
---|---|---|
| ||
return getAllOrganizationIds(); |
Result: 11|12|13|14.
Example 2
Code Block | ||
---|---|---|
| ||
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) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.