---
title: "Copy epic and its issues using the Create Issue post function"
canonical: "https://support.appfire.com/space/CSOT/68753047/Copy%20epic%20and%20its%20issues%20using%20the%20Create%20Issue%20post%20function"
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://ca9c99ff-8fc1-499e-b754-d3bb9ccb0fb2)

## 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://f6c62f6b-e1d1-4d0a-9fc5-6a8639f62ef9) | ## 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://1b21abdc-139c-410b-9179-ee68007bf5c8) |
| ![image](media://b458aceb-ffdf-4e4b-b4d4-dc9ce37b9310) | ## 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://7d959c75-b7ae-4c8c-8551-2a221a74a6ac) |
| ![image](media://30fa66f1-04ba-4aaa-9f08-cef688193117) | ## Step 3<br>Publish your workflow. It is always recommend to save a backup  
of the previous workflow when prompted. |  |
| ![image](media://19ef3a0b-139d-4d1c-9858-0ada80b448b9) | ## 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://4b981ef9-d66b-4af0-a4f0-9781de636de7) |

## 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://273f8ddf-1626-4e3b-81f4-6451f00bb183)

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