Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Create on Transition for Jira
Results will update as you type.
  • Cloud
  • Data Center
    • Overview - Data Center
    • Installation - Data Center
    • Getting started - Data Center
    • Use cases - Data Center
      • Copy a custom field value to another field - Data Center
      • Determine where COT functions are in use
      • Create a value map using the cascade select configuration
      • Pattern match condition
      • Prevent creating duplicate issues
      • Pattern substitutions for string manipulation
      • Set third party app custom fields while creating multiple issues
      • How are error messages generated during workflow transitions
      • Copy epic and its issues using the Create Issue post function
      • Create a linked issue in another project only if one doesn't already exist - Data Center
      • Create sub-tasks for specific issue types
      • Debug condition configurations
      • Copy attachments to a newly created issue
      • Create and link issue on exact summary match
      • Create issue if transitioned by specific user - Data Center
      • Create multiple issues - Data Center
      • Create multiple issues for each fix version - Data Center
      • Create subtasks on initial issue create
      • Add condition to a blank or an empty field
      • Retrieve problem determination information
      • Define condition based issue creation
      • Link newly created issues on transition
    • Features - Data Center
  • Migration
  • Release notes
  • Upcoming releases
  • Help and support
  • Appendix
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Create multiple issues - Data Center
    Updated Jun 27

    Create multiple issues - Data Center

    Scenario

    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.

    Step 1

    As a Jira Administrator or Workflow Administrator:

    1. Navigate to your workflow (ePub in this case).

    2. Edit your ePub workflow to create a draft version.

    3. Select the Post Functions tab.

    4. Add a Create Issue or Create Sub-task post function.

     

    Step 2

    OPTIONAL RULES:

    1. Select the Conditions & Configurations tab.

    2. Scroll until you find Create multiple issues.

    3. Enter "hwright, srector, ksandin".

    Step 3

    ISSUE 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.

    1. Select the Detailed Fields tab. 

    2. Locate the Assignee field under the People section.

    3. Enter "%entry%".

    4. Select the Basic Fields section.

    5. Locate the "Summary" field.  You see "%parent_summary%".

    6. Append "- %entry%" to "%parent_summary%".

    7. Click the Add button to save the values.

    Step 4

    1. Remember to publish your workflow. We always recommend saving a backup of the previous workflow when prompted.

    2. Create an issue of type "Task".

    3. Validate that the new issues or sub-tasks were created and properly assigned. 

     

     

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 15, "requestCorrelationId": "3573450bcaf242109b206057bb018bbd"}