Skip to end of banner
Go to start of banner

gadget_getMultiUserPickerValue

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The use of this routine 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 routine as follows:

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

See also

  • No labels