Table plus | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Description
Excerpt | ||
---|---|---|
| ||
Deletes the attachment for a given id or for a specified page and file name. |
Deletes the attachment for a given id or for a specified page and file name.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
page ID
...
Number
...
Yes
...
The ID of the page with the selected attachment.
...
attachment name
...
String
...
Yes
...
.
Return Type
Boolean (true/false)
...
Code Block | ||
---|---|---|
| ||
deleteAttachment(11801, "attachmentToDelete.txt"); |
Note |
---|
If you have multiple attachments on an issue with the same file name, all of them will be deleted. |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|