The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
gadget_getMultiUserPickerValue(argv, label)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Retrieves the value from a multi user picker. |
Retrieves the value from a multi user picker.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
argv
...
StringĀ []
...
Yes
...
The argv variable
...
label
...
String
...
Yes
...
The label of the multi user picker
Return Type
String []
Example
Assume we have the following script that creates a multi user picker:
Code Block |
---|
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:
Code Block |
---|
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
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.