BA_createSingleCheckbox

BA_createSingleCheckbox

We've encountered an issue exporting this macro. Please try exporting again later.

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

Syntax

BA_createSingleCheckbox(label, isChecked, isDisabled[, isRequired, fieldDescription])

Package

poweraction

Alias

Pkg Usage

createSingleCheckbox(label, isChecked, isDisabled[, isRequired, fieldDescription])

Description

Creates a single checkbox.

Parameters

Parameter name

Type

Required

Description

label

String

Yes

Field label.

isChecked

Boolean

Yes

Is the check box checked by default, true or false.

isDisabled

Boolean

No

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.

Please note that marking a field as required does not perform any validation in Jira 9. However, in Jira 10, this has been improved, and the fields are now properly validated.

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

BA_createSingleCheckbox("cbx 1", false, false, false, "description for checkbox 1"); BA_createSingleCheckbox("cbx 2", true, false, false, "description for checkbox 2"); BA_createSingleCheckbox("cbx 3", true, true, false, "description for checkbox 3");

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.