gadget_getSingleValue

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 3.0.8.

Syntax

gadget_getSingleValue(argv, label)

Description

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


Parameters

Parameter name

Required

Description

argv

Yes

the argv variable

labelYesthe 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

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

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

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


See also