How to create multiple sub-tasks and set respective assignees
This article explains how to create multiple sub-tasks and set a different assignee to each task based on the user selection in the multiuser picker custom field. The solutions suggests using the Create on Transition app to achieve the task.
Step-by-step guide
While creating multiple sub-tasks during transitions in a workflow, these sub-tasks can be assigned to different users by using the Create on Transition app.
Detailed steps | Screenshot | |
---|---|---|
1 | Login as a JIRA Administrator and click > Issues. | |
2 | Select Custom Fields from the left sidebar. | |
3 | Add a custom field of type User Picker (multiple users) and click Next. | |
4 | Enter the name of the field and description (optional) int he respective fields, and click Create. | |
5 | Configure this custom field in the respective workflow screen. | |
6 | In the Workflows tab, select the intended workflow and click Edit. | |
7 | Select the transition for which you want to create the sub-task. Select the Post Functions option. | |
8 | Click Add post function. | |
9 | Select Create Sub-task from the available options. | |
10 | Add the post function and click Update. | |
11 | Click Publish. | |
12 | Create a new issue and enter the users in the multiuser picker custom field. Run the transition to create sub-tasks. You notice that sub-tasks are created based on the number of users specified in the custom field value. At the same time, sub-tasks are assigned to the users. |
It is recommended to test the mentioned post-function in a non-production environment before implementing it in the production environment.