getAllOrganizationIds
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
Syntax | getAllOrganizationIds() | Package |
|
Alias |
| Pkg Usage |
|
Description
Returns the Ids of all Service Desk organizations.
Return Type
Number
Returns a number array of organization Ids.
Examples
Example 1
return getAllOrganizationIds();Result: 11|12|13|14
Example 2
for(number id in getAllOrganizationIds()) {
runnerLog(getOrganizationNameById(id));
}Result: "Company A" "Company B" "Company C"
See also
Peacock
Need support? Create a request with our support team.
Copyright © 2005 - 2026 Appfire | All rights reserved.