---
title: "Create multiple issues for each fix version"
canonical: "https://support.appfire.com/space/CSOTDC/3764199136/Create+multiple+issues+for+each+fix+version"
format: markdown
---
> Macro (aura-html)

# Scenario

When an issue transitions to a specific step, you want to create multiple issues, one for each fix version specified in the original issue.

## Background

This scenario uses an example ePub workflow that helps teams coordinate the publication of electronic books. We want to add a *Create Issue* post function that processes when users transition issues from the "In Edit" to "In Composition" steps. Using the "Create multiple issues" feature of **Create on Transition**, we can provide a [Substitution Variable](https://appfire.atlassian.net/wiki/spaces/CSOTDC/pages/3764199978) of "%original_fixed_versions%". This lets us create one issue for each fix version associated with the issue being transitioned. Each created issue includes a link back to the parent issue. To make it easier to identify which fixed version each issue belongs to, we prepend the issue summary with the fix version.

## Steps

The following steps demonstrate how to configure Create on Transition using the **Create multiple issues** feature:

|  |  |  |
| --- | --- | --- |
| ![image](media://71c568cf-0fe9-4fcd-806b-468b261bca30) | ## Step 1<br>As a Jira Administrator or Workflow Administrator:<br>1. Navigate to your workflow (ePub in this case).
2. Edit your ePub workflow to create a draft version.
3. Navigate to the Post Functions tab.
4. Add the *Create Issue* post function. | ![image](media://848eaee3-333d-4e60-bd9a-cb14fca21f1f) |
| ![image](media://094c604e-8f35-4585-b586-64f94ebff196) | ## Step 2<br>*ISSUE FIELDS*:<br>1. Select the *Basics Fields* tab.
2. Prepend *"*%entry% - " to "%parent_summary%" in the *Summary* field.
3. Select the *Links* tab.
4. Select the following from the respective list of available options:
  - 
    - *Create Link* - "Original issue key"
    - *Create link type - *"Create on Transition"
    - *Create link direction - *"New issue to issue key" | ![image](media://69cdcc7b-23ce-4f07-adc2-56ae1d026e11) |
| ![image](media://e52b7fea-8367-4fdd-9216-244392870f2b) | ## Step 3<br>Configure the Create multiple issues field using a substitution variable.<br>1. Select the *Conditions & Configuration* tab.
2. Scroll down until you find *Create multiple issues.*
3. Enter the "%original_fixed_versions%" substitution variable.
4. Click the **Add** button to save your configuration. | ![image](media://3592a49a-401b-4b4c-9411-b8bce66bfb0a) |
| ![image](media://b69e150b-9afd-4a02-b756-95d174545ced) | ## Step 4<br>1. Remember to publish your workflow. It is always recommend to save a backup  
of the previous workflow when prompted.
2. Create an issue and assign a set of fixed versions.
3. Transition the issue to trigger your post function.
4. Validate that the new issues (one per fixed version) were created in the proper project and that each one contains a link back to the originating issue. |  |