This article explains how to create multiple issues with a substitution variable, project role in Creation on Transition post function.
Instructions
- 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 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 click to 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, you can see multiple issues are created based on the list of users of the project role.
It is recommended to test this scenario in a test environment before deploying it in production.