gadget_getSingleValue

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

Description

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

Parameters

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

Peacock