This article explains how to create sub-tasks based on the components selected and assign them to the respective component leads by lead using Create on Transition app.
Instructions
In a Jira instance: Consider a Component with values, Jira and Confluence with users test and user1 as component leads for the components respectively in the respective a specific project.
- Add a post - function to the intended transition to create a sub-task.
To add a post - function, navigate to Cogwheel > Issues > Workflows > select the workflow of the project and edit the same. - Select the Create Sub-task post function as shown below.:
- Select the Detailed Fields tab and select the Assignee field as %function_componentLead(%original_project%, %entry%)%.
By giving providing the mentioned value in the Assignee field, it will assign the sub-tasks are assigned to the respective component leads. - Select Select the Conditions & Configuration Configuration tab and add %original_components% to to the Create multiple issues field , so that subtasks will be created depending to create subtasks based on the number of components selected.
- Click Click Update to to save the settings. Verify the condition.
- Publish the workflow draft.
- Perform Perform the transition Awaiting implementation as shown and . You notice that the issues are created based on the condition and will get are assigned with to the respective component leads.
Note |
---|
It is recommended to try the solution provided in a non-production environment and ensure that everything is working as expected , before trying in a production environment. |