---
title: "Copy epic and its issues using the Create Issue post function"
canonical: "https://support.appfire.com/space/CSOTDC/3764198546/Copy+epic+and+its+issues+using+the+Create+Issue+post+function"
format: markdown
---
> Macro (aura-html)

# Scenario

When you are transitioning an epic, there can be a scenario where you want to create a new epic with all the epic issues copied from the original epic into the same project or a different one. *Create Issue *post function provides a way of accomplishing this scenario instead of adding all the issues individually to the newly created epic.

This tutorial explains two scenarios:

A. Copy epic and its issues to a newly created issue within the same project

B. Copy epic and its issues to a newly created issue in a different project

# Steps

Consider an epic with three issues from an example project:

![image](media://24e7126a-218f-4c90-9be3-68e9f93b014e)

## Scenario A - Copy epic and its issues to a newly created issue within the same project

Perform the following steps to copy epic and its issues to a newly created issue within the same project:

|  |  |  |
| --- | --- | --- |
| ![image](media://48db5eee-9468-4547-ae5a-36c83d808ca6) | ## Step 1<br>As a Jira Administrator or Workflow Administrator:<br>1. Navigate to the intended workflow.
2. Edit your workflow to create a draft version. (Transition *To Do → In progress *is considered in this scenario.)
3. Select the *Post Functions* tab.
4. Add a *Create Issue (Bob Swift)* post function. | ![image](media://99ab8328-b09c-43d1-9ca6-c6a355f76d07) |
| ![image](media://5db00109-19f7-461a-987d-03a7dce14113) | ## Step 2<br>Within the *Issue Fields* screen:<br>1. Select the *Detailed Fields* tab.
2. Select the following from the respective list of available options:
  - *Project* - "Original project"
  - *Issue type - *"Epic"
  - *Copy issues in epic -* Turn On
3. Click **Add** to save your changes. | ![image](media://261d9a23-c3e1-4287-8d64-32d6504a5785) |
| ![image](media://eceb6e86-952f-4a0a-b452-e51a354985e6) | ## Step 3<br>Publish your workflow. It is always recommend to save a backup  
of the previous workflow when prompted. |  |
| ![image](media://36fef6e3-357f-4b5e-8d8e-fbca044ac067) | ## Step 4<br>1. Navigate to the epic from the example project.
2. Transition the epic from *To Do* to* In progress*.   
You notice that the newly created epic contains all the issues created in the *Issues in Epic *section (similar to the issues in the original project). | ![image](media://dbaae204-5666-4e82-bb5c-3421ca4ac745) |

## Scenario B - Copy epic and its issues to a newly created issue in a different project

For this scenario, follow the same steps as *Scenario A* and replace step 2 with:

In the *Detailed Fields *tab:

- *Project* - "[IP] iPhone project" (Example project different from the original)
- *Issue type - *"Epic"
- *Copy issues in epic -* Turn On

These settings result in the following output:

![image](media://1c791cbf-244d-499a-8797-4a44462e3d79)

Note that the issues highlighted here are similar to the source epic issues and are now a part of the target project.