---
title: "How to create multiple sub-tasks and set respective assignees"
canonical: "https://support.appfire.com/space/SUPPORT/89134595/How%20to%20create%20multiple%20sub-tasks%20and%20set%20respective%20assignees"
format: markdown
---
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 *<span style="color: #333333">Create on Transition</span>* 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 *<span style="color: #333333">Create on Transition</span>* app.

| <span style="color: #333333">**Detailed steps**</span> | <span style="color: #333333">**Screenshot**</span> |
| --- | --- |
| <span style="color: #333333">Login as a JIRA Administrator and click </span>> Macro (inline-media-image)

*<span style="color: #333333"> </span>****<span style="color: #333333">> Issues</span>****<span style="color: #333333">.</span>* | ![image](media://10b9db5a-20e7-4e7f-b061-a0fb59a2a896) |
| <span style="color: #333333">Select </span>*<span style="color: #333333">Custom Fields</span>*<span style="color: #333333"> from the left sidebar.</span> | ![image](media://f1aaee71-a836-47d5-9081-d064bb76f9e6) |
| <span style="color: #333333">Add a custom field of type </span>*<span style="color: #333333">User Picker (multiple users) </span>*<span style="color: #333333">and click </span>**<span style="color: #333333">Next</span>**<span style="color: #333333">.</span> | ![image](media://a799d459-290d-4c96-a116-8de595c2c967) |
| <span style="color: #333333">Enter the name of the field and description (optional) int he respective fields, and click </span>**<span style="color: #333333">Create</span>**<span style="color: #333333">.</span> | ![image](media://0c823258-9e74-492a-8b7a-ed883c5b649d) |
| <span style="color: #333333">Configure this custom field in the respective workflow screen.</span> | ![image](media://a9f8071a-e60b-4c33-87a5-d897d309f4a2) |
| <span style="color: #333333">In the </span>*<span style="color: #333333">Workflows</span>*<span style="color: #333333"> tab, select the intended workflow and click </span>*<span style="color: #333333">Edit</span>*<span style="color: #333333">.</span> | ![image](media://cd4542e4-df72-487b-9e65-7eb15b27835b) |
| <span style="color: #333333">Select the transition for which you want to create the sub-task. Select the </span>*<span style="color: #333333">Post Functions </span>*<span style="color: #333333">option.</span> | ![image](media://6c20fd96-b5aa-4edd-85eb-9e6e5ae06d50) |
| <span style="color: #333333">Click </span>*<span style="color: #333333">Add post function</span>*<span style="color: #333333">.</span> | ![image](media://90a0f6e0-a3a9-493c-8b68-7537826c6c79) |
| <span style="color: #333333">Select </span>*<span style="color: #333333">Create</span>*<span style="color: #333333"> </span>*<span style="color: #333333">Sub-task</span>*<span style="color: #333333"> from the available options.</span> | ![image](media://154e19c1-2373-42d3-9819-6c80a540c257) |
| <span style="color: #333333">Add the post function and click </span>**<span style="color: #333333">Update</span>**<span style="color: #333333">.</span> | ![image](media://8bfa42c0-a42f-4a3e-b025-f2984b9a76c7) |
| <span style="color: #333333">Click </span>**<span style="color: #333333">P</span>****<span style="color: #333333">ublish</span>**<span style="color: #333333">.</span> | ![image](media://3790eeeb-b62a-4210-aa2c-946905cd1f62) |
| <span style="color: #333333">Create a new issue and enter the users in the multiuser picker custom field. Run the transition to create sub-tasks.</span><br><span style="color: #333333">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.</span> | ![image](media://a8a9065e-a383-44aa-ba96-99bea0320178) |


> ⚠️ It is recommended to test the mentioned post-function in a non-production environment before implementing it in the production environment.