This article explains how to create multiple issues based on a specific Project Role in Creation on Transition post function.
...
- Log into Jira as an Administrator and navigate to > System.
- From the left sidebar, select Project roles under the SECURITY section.
- Create a role, for example, Product Manager as shown below and assign Default Users/Groups to the role.
- Navigate to Issues tab, select Workflows under the WORKFLOWS section.
- Select the required workflow and click Edit.
- Click the transition for which Create on Transition is configured.
- Select Post Functions and clickto edit the Create Issue post function.
- Select Detailed Fields and provide %entry% into the Assignee field.
- Select the Conditions & Configuration tab and enter %role_Product Manager% into Create multiple issues field and click Update.
- Updated post function looks as:
- Publish the workflow before executing the transition. With this post function, multiple issues are created, based on the list of users in the project role upon transition.
...