gadget_getDateValue

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

Description

Retrieves the date from a datePicker or dateTimePicker.

Parameters

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

Peacock