---
title: "attachmentFilename"
canonical: "https://support.appfire.com/space/PSJC/815235330/attachmentFilename"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> File name of the attachment

File name of the attachment

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | attachmentFilename(key, attachmentId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| key | string | Yes | Issue key. |
| attachmentId | int | Yes | Attachment id. |

## Return Type

**string**

Returns the file name of the attachment

## See also

> Macro (contentbylabel)