addOrganization (Power Scripts)

addOrganization (Power Scripts)

 

The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

Syntax

addOrganization(organization, project)

Package

 

Alias

 

Pkg Usage

 

Description

Adds an existing organization or a list of organizations to a specified Service Desk project.

Parameters

Parameter name

Type

Required

Description

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.

Examples

Example 1

return addOrganization({"First organization", "Second organization"}, "JSD");

Example 2

return addOrganization("My Organization", "JSD");

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.