Skip to end of banner
Go to start of banner

How to create a sub-task based on the value of the multiple choice custom field

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 8 Next »

This article explains how to create a sub-task based on the value selected from the custom field in Create on Transition app. 

Instructions

Perform the steps:

  1. Login as a Jira Administrator and click  > Issues.
  2. Click on the button Add custom field which is at the right top corner.
  3. Select a Field Type as Select List (multiple choices) and click Next.
  4. Enter Name, Description (optional) and Options in the respective fields, and click Create
  5. It traverses you to the Screens section. Choose the required workflow screen(s) and click Update
  6. In the Workflows tab, click on Edit link to the required workflow.
  7. Select the transition for which you want to add/edit post function. Select the Post Functions option.
  8. Click Add post function
  9. Traverse to the Conditions and Configurations option and add the custom field with Regular Expression pattern| ) as mentioned in below post function.

          

      10. Click on Update and Publish the workflow.

             In the following test scenario, we have added a custom field Services of type multiple choices and added the values (Laptop, Printer, Finger print access, Computer).

            

            Select the option as Laptop and perform the transition, then the Sub-Tasks will get created as Laptop is one of the values in the condition mentioned in Post Function. If you select Computer then no Sub-Tasks will get created upon transition.

            

It is recommended to test the post-function in a non-production environment before implementing it in the production environment.

  • No labels