Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

downloadAttachment(key, attachmentName, destinationFile)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Downloads an attachment from an issue and saves it in the destination file

Downloads an attachment from an issue and saves it in the destination file

Parameters

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

Parameter name

Type

Required

Description

key

string

Yes

Issue key.

attachmentName

string

Yes

Attachment name.

destinationFile

string

Yes

Path to save the file.

Return Type

boolean

Returns "true" if the attachment was downloaded successfully and "false" otherwise. If returned "false" check the log for a detailed reason on why it failed.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "attachment_function" and space = currentSpace ( )
labelsarray_functions