Versions Compared

Key

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

...

...

...

...

...

...

...

...

Overview

This article explains how to create a subtask if one does not already exist for the respective parent issue using the Create on Transition - Create Sub-task post function. You need to add a Post Function in your respective workflow associated with the parent issue. 

Instructions

Steps to create a post-function for this scenario.

  1. Log into Jira system as a Jira Administrator and click Image Modified > Issues.
  2. Under the Workflows section, select the workflow to click on Edit link.
  3. Now select the transition steps to add the post- function.

...

      5. Now add the below Post Function.

         


6. Publish the workflow and rerun the scenario Click Update and publish the Workflow.

7. Re-run the scenario and you notice that the Sub-task will get created for the issue if it does not exist.



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

...