saveAttachmentFromEmail

Description

Saves the attachment file from an issue (based on the attachment id) to a specific file path, on the server. This can prove to be very helpful when you want to save a file stored on S3, for example

Parameters

Return Type

Boolean

'True' if the attachment file was successfully saved to the specified file path, 'false' otherwise.

Example

saveAttachment("10600", "/mnt/efs/jira10.0.0-sharedhome/silprograms/test.txt");

See also