Availability
This routine is available starting with Power Scripts™ 4.6.0 for Jira 7.4.x.
Syntax
addOrganization(organization, project)
Description
Adds an existing organization or a list of organizations to a specified Service Desk project.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
organization | String[] | Yes | The organization name. |
project | String | Yes | The key of the selected project. |
Return type
boolean
Returns "true" if the operation succeeded.
Example
Example 1
return addOrganization({"First organization", "Second organization"}, "JSD");
Example 2
return addOrganization("My Organization", "JSD");
See also