Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to create sub-tasks based on components and assign them to the respective component leads using the Create on Transition app.

Instructions

...

Consider a Component with values Jira and Confluence with test and user1 as component leads respectively in the respective project.

  1. Add a post-function to the intended transition to create a sub-task.
    To add post-function, navigate to Cogwheel > Issues > Workflows > select the workflow of the project and edit.
  2. Select Create Sub-task post function as shown below.
    Image Added

  3. Select the Detailed Fields tab and select the Assignee field as %function_componentLead(%original_project%, %entry%)%. By giving the mentioned value in the Assignee field, it will assign the sub-tasks to the respective component leads. 
    Image Added
  4. Select the Conditions & Configuration tab and add %original_components% to Create multiple issues field, so that subtasks will be created depending on the number of components selected.
    Image Added
  5. Click Update to save the settings. Verify the condition.
    Image Added

  6. Publish the workflow draft.
  7. Perform the transition Awaiting implementation as shown and issues are created based on the condition and will get assigned with respective component leads.
    Image Added

Note

It is recommended to try the solution provided in a non-production environment and ensure everything is working as expected, before trying in a production environment.