---
title: "Attachment Interface"
canonical: "https://support.appfire.com/space/JMWE/462095169/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/display/JMWE/Accessing+the+fields+of+an+issue) when you [access the Attachment field](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461964285/Standard+JIRA+fields#StandardJIRAfields-Attachments).

> ⚠️ :green_star:<span style="color: #333333"> </span><span style="color: #333333">denotes a method that is specific to JMWE.</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/JMWE/pages/461472599) | 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/JMWE/pages/461537734) | 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) | Url of the attachment |
| [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 |