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_getSingleValue(argv, label)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
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
...
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 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) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.