Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

Overview

This article explains how to createate a sub a sub-task using the app Create on Transition - Create Sub-taspost function, based on a custom field values presence for value on the respective parent issueparent issue using the Create on Transition app.

Instructions

You need to add Add a post-function in the workflow associated with the parent issue. To create a the post function:,

...

  1. Log into Jira as an Administrator and click Image Removed > Issues.
  2. Under the Workflows section, select the intended workflow and click the Edit link.
  3. Select the transition to which you wish to add the post-function. Select the Post Function option as the following:
    Image Removed
  4. Click the Add Post Function link and select Create Sub-task from the available options.
  5. 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 Removed
  6. Click Update and publish the workflow.
  7. Once the post function is created for the required transition along with both custom field values presence, you notice that a sub-task is created for the issue.
    Image Removed

...

  1. Go to the desired Project > project's Workflow > respective post function
    1. If the post function already exists then proceed to step:# 5.
    2. If there is no post function configured then follow the steps from step# 3.
  2. Edit the workflow and go to the transition, where you want to add the Create on Transition post function. 

    Image Added
  3. Click Add post function and select Bob Swift's Create Sub-task post function.
  4.  The post function will have the following condition and regex value along with the other values. 

    Condition value as %original_customfield_11002%,  %original_customfield_11001% where 11002 and 11001 are the custom field ids. 

    Regex pattern will contain the value, Here, for example, Yes|No for the first condition and UAT|Production for the second condition.  

    Image Added
  5. Click Update to save the settings.
  6. Publish the Workflow.
  7. Go to any Jira Issue and provide the custom field values Production and Yes and perform the transition. After the transition happens, a sub-task will be created as shown below. 
    Image Added


Note
  • Test the post function creation in a test environment first before implementing it in
the
  • a production environment.