---
title: "Attachment interface"
canonical: "https://support.appfire.com/space/JMCF/465666537/Attachment%20interface"
format: markdown
---
> Macro (aura-html)

This document details the methods of the` `[Attachment](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html) interface you can use on an attachment of the issue returned by the [Getters](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465371580) when you [access the Attachment field](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465240465).

> ⚠️ :green_star:<span style="color: #333333"> </span><span style="color: #333333">denotes a method that is specific to JMCF.</span>


| **Method** | **Return type** | **Returns** |
| --- | --- | --- |
| [getAuthorKey](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getAuthorKey())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | Key of the author who added the attachment |
| [getAuthorObject](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getAuthorObject())`()` | [ApplicationUser](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465732359) | Author object who added the attachment |
| [getCreated](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getCreated())`()` | [Timestamp](http://download.oracle.com/javase/6/docs/api/index.html?java/sql/Timestamp.html) | Timestamp when the attachment was added |
| [getFilename](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getFilename())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | File name of the attachment |
| [getFilesize](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getFilesize())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | File size of the attachment |
| [getId](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getId())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | ID of the attachment |
| [getIssue](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getIssue())`()` | [Issue](https://appfire.atlassian.net/wiki/spaces/JMCF/pages/465764748) | Issue that this file is attached to. |
| [getIssueId](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getIssueId())`()` | [Long](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Long.html) | Issue ID that this file is attached to. |
| [getMimetype](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getMimetype())`()` | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | Mime type of the attachment |
| [getProperties](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#getProperties())`()` | [PropertySet](https://developer.atlassian.com/static/javadoc/opensymphony-propertyset/1.5/reference/com/opensymphony/module/propertyset/PropertySet.html) | Attachment properties |
| `getUrl() `:green_star: | [String](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) | <span style="color: #091e42">Url of the attachment</span> |
| [isThumbnailable](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#isThumbnailable())`()` | [Boolean](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Boolean.html) | True if the attachment is thumbnailable |
| [isZip](https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/issue/attachment/Attachment.html#isZip())`()` | [Boolean](http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Boolean.html) | True if the attachment is compressed zip |