---
title: "addCustomerToOrganization (Power Scripts)"
canonical: "https://support.appfire.com/space/PSJ/15483775/addCustomerToOrganization%20(Power%20Scripts)"
format: markdown
---
> Macro (aura-html)


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | addCustomerToOrganization(customer, organization) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Adds an existing customer or a list of customers to a specified organization.

Adds an existing customer or a list of customers to a specified organization.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| customer | String [] | Yes | The customers' username. |
| organization | String | Yes | The organization name. |

## Return Type

**Boolean**

Returns "true" if the operation succeeded.

## Examples

```
return addCustomerToOrganization({"customer1","customer2"}, "My Organization");
```

```
return addCustomerToOrganization("customer", "My Organization");
```

## See also

> Macro (contentbylabel)