gadget_getMultiUserPickerValue

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

Description

Retrieves the value from a multi user picker.

Parameters

Return Type

String []

Example

Assume we have the following script that creates a multi user picker:

gadget_createMultiUserPicker("MultiUserPicker", {"admin", "demouser"}, true, "Required Multi User Picker");

in order to retrieve the values entered in the field above we need to use the gadget_getMultiUserPicker function as follows:

string[] res = gadget_getMultiUserPickerValue(argv, "MultiUserPicker"); //res[0] = admin //res[1] = demouser //The function has returned in this case an array of two strings, "admin" and "demouser".

See also

Peacock