gadget_getDateValue

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_getDateValue(argv, label)

Description

Retrieves the date from a datePicker or dateTimePicker.


Parameters

Parameter name

Required

Description

argv

Yes

the argv variable

labelYesthe label of the datePicker

Return type

date


Example

For the Date type fields let's assume we have the following script:

gadget_createDatePicker("Start Date", currentDate(), true, "Required DatePicker");

The date selected in the DatePicker field created above can be obtained in the execution script using the following code:

date res = gadget_getDateValue(argv, "Start Date");

See also