Skip to end of banner
Go to start of banner

How to automate sub-task creation using labels on the create transition

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

Version 1 Next »

This article explains how sub-task creation can be automated based on the labels field while creating an issue.

Instructions

In this case, the sub-task creation is automated on the create transition when labels are empty (or) when specific label names are entered by the user.

  1. Login to Jira as an Administrator.
  2. Click on > Projects > Project Settings
  3. Select the workflow that is associated with the project and click on Edit
  4. Click Add post function and select Create Sub-task from the list and click Add
  5. Configure the Create Sub-task post function as shown below with the JQL as

    project = KPS AND key = %original_key% AND (labels != No_Subtasks OR labels is EMPTY)




  6. Publish the workflow.
  7. Create a sample ticket and test if the sub-task is created or not.


  • No labels