The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
gadget_getDateValue(argv, label)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Retrieves the date from a datePicker or dateTimePicker. |
Retrieves the date from a datePicker or dateTimePicker.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
argv
...
StringĀ []
...
Yes
...
The argv variable
...
label
...
String
...
Yes
...
The label of the datePicker
Return Type
Date
Example
For the Date type fields let's assume we have the following script:
Code Block |
---|
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:
Code Block |
---|
date res = gadget_getDateValue(argv, "Start Date"); |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.