Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Scenario

When you are transitioning an epic, there can be a scenario where you want to create a new epic in the same project 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:

The following steps demonstrate how to copy the epic with the epic issues to the newly created issue using Create Issue post function

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:

If you want create a new epic
Table plus
border0
heading0
multiplefalse
enableHeadingAttributesfalse
columnAttributesstyle="border:0;width=5%;",style="border:0;width=65%;",style="border:0;width=30%;max-width=30% !important;"
idsteps_table
enableSortingfalse
enableHighlightingfalse


Step 1

As a Jira Administrator or Workflow Administrator:

  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 Removed

Image Added


Step 2

Within the Issue Fields screen:

  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 Removed

Image Added



Image Modified

Step 3

Publish your workflow. It is always recommend to save a backup
of the previous workflow when prompted.



Image Modified

Step 4

  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 Modified

Info


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 Modified

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

...