copyAttachment

copyAttachment

Syntax

copyAttachment(srcPageId, attachmentName, dstPageId)

Package

Alias

Pkg Usage

Description

Copies an attachment from one page to another.

Return Type

Boolean (true/false)

Example

copyAttachment(11800, "attachmentToCopy.txt", 11801);

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

If you have multiple attachments on an issue with the same file name, all of them will be copied.

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.