Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
This routine is available in Power Actions™ starting with versions 2.0.8 for Jira 5 and 2.6.1 for Jira 6.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

BA_createDatePicker(label, defaultValue, isDisabled, isRequired, fieldDescription)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Creates a date picker.

Creates a date picker.

Parameters

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

Parameter name

Type

Required

Description

label

...

String

Yes

Field label.

defaultValue

...

Date

Yes

A default value or an empty string.

isDisabled

...

Boolean

Yes

Specifies whether the field is read-only or

...

no.

isRequired

...

Boolean

...

No

Specifies

...

whether the field should be marked as required with a dark red asterisk. Note that marking the field as required does not add any validation.

fieldDescription

...

String

...

No

A description of the field to be displayed immediately under the input box.

Return

...

Type

None

The returned value has no meaning

...

Example

Code Block
BA_createDatePicker("date 1", currentDate(), true, false, "description for date 1");
BA_createDatePicker("date 2", (date)"", false, true, "description for date 2");

...

Image Added

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "pa_routine" and space = currentSpace ( )
labelsarray_routines