Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

gadget_getDateValue(argv, label)

Package

Alias

Pkg Usage

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

argv

StringĀ String []

Yes

The argv variable

label

String

Yes

The label of the datePicker

...

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

Code Block
languagejs
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
languagejs
date res = gadget_getDateValue(argv, "Start Date");

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "gadget_routinefunction" and space = currentSpace ( )
labelsarray_routinesfunctions