Skip to end of banner
Go to start of banner

How to create a sub-task based on custom field value using Create on Transition app

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 11 Current »

Overview

This article explains how to create a sub-task based on a custom field value on the parent issue using the Create on Transition app.

Instructions

Add a post-function in the workflow associated with the parent issue. To create the post function,

  1. Log into Jira as an Administrator
  2. 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.
  3. Edit the workflow and go to the transition, where you want to add the Create on Transition post function. 

  4. Click Add post function and select Bob Swift's Create Sub-task post function.
  5.  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 patter will contain the value, Here, for example, Yes|No for first condition and UAT|Production for the second condition.  

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


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




  • No labels