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 create a subtask using the app Create on Transition - Create Sub-task taspost function, when one does not already exist for the respective parent issue.

Instructions

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

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

Image Removed

...

  1. Select the Post Function option as the following:
    Image Added
  2. Click the Add Post Function link and

...

  1. select Create Sub-

...

      5. Now add the below Post Function.

         Image Removed

...

7. As per the above example, if you move from the transition step working to the next transition step. You will notice that the Sub-task will get created for the issue if it does not exist.

...

  1. task from the available options.
  2. Once you add all the required fields to the post function, you see that the post function is added to the post functions list as the following:
    Image Added
  3. Click Update and publish the workflow.

Once the post function is created for the required transition, you notice that a sub-task is created for the issue after transitioning to the selected state.

Note

Add the above Post Function in your

Test

test environment first

and then implement

before implementing it in the

Production

production environment.