This article explains how to create issues or sub-tasks based on the selected Components component value in the using the Create on Transition app.
Instructions
Perform Follow the followingsteps:
- Log in Login as a Jira Administrator and click navigate to > Projects.
- Select the Project project from the list .Traverse to which you want to add the Components. This navigates you to the Project settings and click on Componentsof the selected project.
- Select Components from the sidebar.
- Add the respective components as required.
5. Select the required workflow screen(s), and click Update. Fill the required details to add the component as shown in:
65. In the Navigate to the > Issues and under the Workflows tab, click the Edit link to modify the required workflow.
76. Select the transition for which you want to add or edit the post function. Select the Post Functions option.
7. Select Create issues or Create Sub-task from the available options.
8. Click Add Navigate to the Conditions and Configurations tab and add the below post function.
9. Click Publish.
10. Create an issue and select a Component. Now perform the transition on the issue to which post-function has been added.
Two scenarios are covered in the below screenshot:
Scenario1: Based on the Component value ProductY, perform a transition on the issue. Issue is created with issue type Task.
Scenario2: Based on the Component value productX, perform a transition on the issue. Issue is created with issue type Bug.
Info |
---|
It is recommended to test this function in a non-production environment before deploying it in production. |