Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Attachment Interface

This document details the methods of the Attachment interface you can use on an attachment of the issue returned by the Getters when you access the Attachment field.

(green star) denotes a method that is specific to JMWE.


Method

Return type

Returns

getAuthorKey()
String

Key of the author who added the attachment

getAuthorObject()
ApplicationUser

Author object who added the attachment

getCreated()
Timestamp

Timestamp when the attachment was added

getFilename()
StringFile name of the attachment
getFilesize()
LongFile size of the attachment
getId()
LongID of the attachment
getIssue()
IssueIssue that this file is attached to.
getIssueId()
LongIssue ID that this file is attached to.
getMimetype()StringMime type of the attachment
getProperties()
PropertySetAttachment properties
getUrl() (green star)StringUrl of the attachment
isThumbnailable()
BooleanTrue if the attachment is thumbnailable
isZip()
BooleanTrue if the attachment is compressed zip