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.

...

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

...

Syntax

...

gadget_getSingleValue(argv, label)

...

Package

...

Alias

...

Pkg Usage

Description

Excerpt
hiddentrue
Retrieves the value from a text, text area, select list or radio group.

Retrieves the value from a text, text area, select list or radio group.

Parameters

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

Parameter name

...

Type

...

Required

...

Description

...

argv

...

StringĀ []

...

Yes

...

The argv variable

...

label

...

String

...

Yes

...

The label of the text/text area/select list/radio group

Return Type

String

Example

For any field that may contain only a single string type value we may use the gadget_getSingleValue routine. For the following script

Code Block
gadget_createInput("Enter keyword", "demo");

We may obtain the field's value as in the next code sample:

Code Block
string res = gadget_getSingleValue(argv, "Enter keyword");
//res = demo

See also

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.