Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

gadget_getMultiUserPickerValue(argv, label)

Package

Alias

Pkg Usage

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

argv

StringĀ String []

Yes

The argv variable

label

String

Yes

The label of the multi user picker

...

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

Code Block
languagejs
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 function as follows:

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

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "gadget_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.