Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!
Availability
This routine is available starting with SIL Engine™ 3.0.8.
Syntax
gadget_isChecked(argv, label)
Description
Verifies if a checkbox is selected or not.Parameters
Parameter name | Required | Description |
---|---|---|
argv | Yes | the argv variable |
label | Yes | the label of the checkbox |
Return type
boolean
Example
Assume we have the following parameter script:
gadget_createSingleCheckbox("Single Checkbox", true, false, "Required checkbox");
The following call is used in the execution script to determine if the checkbox created above is checked:
boolean res = gadget_isChecked(argv, "Single Checkbox");
See also