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

deleteAttachment(issueKey, attachmentName)

Package

Aliasor
deleteAttachment(attachmentId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Deletes the attachment for a given id or for a specified issue and file name.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse
Attachment id.

Parameter name

Type

Required

Description

issueKey

String

Yes

Issue key.

attachmentName

String

Yes

Attachment name.

attachmentId

Number

Yes

Or

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

Parameter name

Type

Required

Description

Return Type

Boolean (true/false)

...

Examples

Example 1

Code Block
languagejs
deleteAttachment(10104);

Example 2

Code Block
languagejs
deleteAttachment("TEST-1", "attachmentToDelete.txt");

...