---
title: "BA_createMultiSelectList"
canonical: "https://support.appfire.com/space/PSJ/15487209/BA_createMultiSelectList"
format: markdown
---
> Macro (aura-html)


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | BA_createMultiSelectList(label, options, defaultValues, isDisabled[, isRequired, fieldDescription]) | **Package** | poweraction |
| **Alias** |  | **Pkg Usage** | createMultiSelectList(label, options, defaultValues, isDisabled[, isRequired, fieldDescription]) |

## Description

> Macro (excerpt)
> 
> Creates a multi select list.

Creates a multi select list.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| label | String | Yes | Field label. |
| options | String [] | Yes | A sub-list of the provided options or an empty array. |
| defaultValue | String [] | Yes | A sub-list of the provided options or an empty array. |
| isDisabled | Boolean | No | Specifies whether the field is read-only or no. |
| isRequired | Boolean | No | Specifies whether the field should be marked as required with a dark red asterisk.<br>Please note that marking a field as required does not perform any validation in Jira 9. However, in Jira 10, this has been improved, and the fields are now properly validated. |
| fieldDescription | String | No | A description of the field to be displayed immediately under the input box. |

## Return Type

**None**

The returned value has no meaning

## Example

```
BA_createMultiSelectList("msel 1", {"option 1", "option 2", "option 3"}, {"option 1", "option 3"}, true, false, "select some options");
BA_createMultiSelectList("msel 2", {"option 1", "option 2", "option 3"}, "", false, true, "select some options");
```

![image](media://d8703651-e3bc-45fe-bd80-5a035b77bfb6)

## See also

> Macro (contentbylabel)