How to prevent creation of subtask with summary that already exists using the Create on Transition for Jira app

This article explains how to create a subtask based on the summary of the parent and does not create the subtask with the same summary using the app, Create on Transition for Jira.

Instructions

Given below is an example of multiple subtask post functions, wherein one post function does not let a subtask to be created when another subtask with the same summary, for example, "SOP Checklist", exists. Another post function results in a subtask creation that has a summary identical to its parent ticket's summary during the transition to IN PROGRESS.

  1. Log in as a Jira Administrator and click  > Projects.
  2. Select the required project and click Project Settings.
  3. Select the required workflow and click Edit to view the transitions associated with the workflow.
  4. Select the appropriate transition and click Post-Function from the box on the right. Details about the transition are displayed.
  5. Click Add post function. The Add Post Function To Transition screen appears.
  6. Select Create Sub-task from the list and click Add.
  7. Configure the below settings and click on Update.

  8. Publish the workflow before performing the transition. The sub-tasks are created only if the specified condition is met as shown:


It is recommended to test the above scenario in a test environment before implementing in the production.