---
title: "copyAttachments"
canonical: "https://support.appfire.com/space/JCLI/70784149/copyAttachments"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70787366)

> Macro (details)
> 
> | **Description** | Copy attachments from an issue to another issue. |
> | --- | --- |
> | **Required Parameters** | [issue](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70784877), [toIssue](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70785834) |
> | **Optional Parameters** | [name](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70784183), [regex](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70789814), [targetServer](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70784527) |
> | **Type** | [Create](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70780909/Action+Types#ActionTypes-Create) |
> | **Category** | [Attachments](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70780591/Action+Categories#ActionCategories-Attachments) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [copyAttachments](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70782732/Examples#Examples-copyAttachments) |

## Related How To's

> Macro (cql-query)