Versions Compared

Key

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

This article explains how to create issues or sub-tasks based on the component value using the Create on Transition app

Instructions

Follow the steps:

  1. Login as a Jira Administrator and navigate to Image Modified > Projects.
  2. Select the project from the list to which you want to add the Components. This navigates you to the Project settings of the selected project.
  3. Select Components from the sidebar.
  4. Add the respective components as required.

           Image Modified
            Fill the required details to add the component as shown in:
           Image Modified

      5. Navigate to the Image Modified> Issues and under the Workflows tab, click the Edit link to modify the required workflow.
      6. Select the transition for which you want to add or edit the post function. Select the Post Functions option.
          Image Modified
      7. Select Create issues or Create Sub-task from the available options.
      8. Navigate to the Conditions and Configurations tab and add the below post function.

          Image Modified

        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
             Image Added
             Scenario2: Based on the Component value productX, perform a transition on the issue. Issue is created with issue type Bug.
                           Image RemovedImage Added     

Info

It is recommended to test this function in a non-production environment before deploying it in production.