BA_createFileUpload
Looking for the documentation on the newest versions of Power Actions for Jira 8? Click here and leave these dusty old pages behind!
Syntax
BA_createFileUpload(label, isDisabled[, isRequired, fieldDescription])
Description
Creates a file upload field.Creates an upload control that enables the users to upload multiple files to a temporary folder.
For more details about the temporary file directory, see the Administration Page.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
label | string | Yes | Field label |
isDisabled | boolean | Yes | Specifies whether the field is read-only or not |
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 under the input box. |
Return type
The returned value has no meaning
Examples
BA_createFileUpload("file 1", false, true, "description for file 1"); BA_createFileUpload("file 2", true, false, "description for file 2");