Scenario
Estimated Time: 12 min
You would like to create multiple issues using the Create Issue or Create Sub-task post function.
Background
This scenario uses an example ePub workflow that helps teams coordinate the publication of electronic books. We have a Create Issue post function that processes when users transition issues from the "Open" to "In Draft" steps. For each instance of this transition, we would like to automatically create one issue and assign it to each of the editors responsible for reviewing draft copies of publications. The list of three names that we create and assign issues to is as follows: hwright, srector, and ksandin.
Steps
The following steps demonstrate how to configure Create on Transition so it automatically creates Issues and assigns to three users and
 | Step 1As a Jira Administrator or Workflow Administrator: Navigate to your workflow (ePub in this case). Edit your ePub workflow to create a draft version. Select the Post Functions tab. Add a Create Issue or Create Sub-task post function.
|  |
|
 | Step 2OPTIONAL RULES: Select the Conditions & Configurations tab. Scroll until you find Create multiple issues. Enter "hwright, srector, ksandin".
|  |
|
 | Step 3ISSUE FIELDS: Let's dynamically assign the issue using a substitution variable called %entry% and with that same variable, let's append the user to the summary so we can differentiate each issue created. Select the Detailed Fields tab. Locate the Assignee field under the People section. Enter "%entry%". Select the Basic Fields section. Locate the "Summary" field. You see "%parent_summary%". Append "- %entry%" to "%parent_summary%". Click the Add button to save the values.
|  |
|
 | Step 4Remember to publish your workflow. We always recommend saving a backup of the previous workflow when prompted. Create an issue of type "Task". Validate that the new issues or sub-tasks were created and properly assigned.
| |