The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
getAllOrganizationIds()
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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"
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.