---
title: "Copy attachments to a newly created issue"
canonical: "https://support.appfire.com/space/CSOTDC/3764198841/Copy+attachments+to+a+newly+created+issue"
format: markdown
---
> Macro (aura-html)

# Summary

Attachments can be copied to the newly created issue from the original issue being transitioned, or other issues, using the **Attachments** field. However, you need to take special care if you want to copy new attachments from the original issue that the user added on the transition screen. This is because some actions requested in your configuration have to be completed after the issue is created, which requires that Jira has fully registered the issue in the database, and this is one of the system-defined post functions.

# Solution

1. Set the issue status to the linked status of the required step under the destination workflow.
2. Add a comment to the issue if one is entered during a transition.
3. Update the issue’s change history and store it in the database.
4. Create subtasks as required.
5. Re-index an issue to keep the indexes in sync with the database.
6. Fire a Generic Event that listeners can process.