Skip to end of banner
Go to start of banner

How to create Sub-task if the parent issue is not having any Sub-task using COT.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Overview

This article explains how to create a subtask if one does not already exist for the respective parent issue using the app Create on Transition - Create Sub-task post function. 

Instructions

You need to add a Post Function in your respective workflow associated with the parent issue. Follow the below steps to create a post-function for this scenario.

  1. Log into Jira system as a Jira Administrator and click  > Issues.
  2. Under the Workflows section, select the workflow and click on Edit link.
  3. Select the transition steps to add the post- function. As per the below screenshot, the workflow transition step working is selected to add the Post Function.

      4. Click on Add Post Function link and then select Create Sub-task option. 

      5. Now add the below Post Function.

         


6. Click Update and publish the Workflow.

7. Traverse to the issue and click on the transition steps button with respect to your workflow and you will notice that the Sub-task will get created for the issue if it does not exist.



Add the above Post Function in your Dev/Staging environment first and then implement it in the Production environment.
  • No labels