/
How to create sub-tasks based on multiple choice custom field values

How to create sub-tasks based on multiple choice custom field values

This article explains how to create sub-tasks based on the custom field value in the Create on Transition app. 

Instructions

Perform the following:

  1. Login as a Jira Administrator and click  > Issues.
  2. Click Add custom field in the top-right corner.
  3. Select 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. The Screens section is shown. Select the required workflow screen(s), and click Update.
  6. In the Workflows tab, click the Edit link to modify the required workflow.
  7. Select the transition for which you want to add or edit post function. Select the Post Functions option.
  8. Click Add post function
  9. Navigate to the Conditions and Configurations tab and add the custom field with Regular Expression pattern| ) as mentioned below:

          

      10. Click Update and Publish the workflow.             

Consider the following test scenario. A custom field Services of type multiple choices is added with the values: Laptop, Printer, Finger print access, and, Computer.

               

Select the Laptop option and perform the transition. The sub-tasks are created with Laptop as one of the values in the condition mentioned after post-function. 

            

If you select Computer, no sub-tasks are created on transition.

It is recommended to test this function in a non-production environment before deploying it.

Related content

How to create a sub-task based on custom field value using Create on Transition app
How to create a sub-task based on custom field value using Create on Transition app
More like this
Create an issue using a condition with multiple custom field values
Create an issue using a condition with multiple custom field values
More like this
Create multiple tasks or subtasks based on the number of custom field values selected
Create multiple tasks or subtasks based on the number of custom field values selected
More like this
How to create multiple sub-tasks and set respective assignees
How to create multiple sub-tasks and set respective assignees
More like this
Adding comma separated conditions to transitions in the Create on Transition app
Adding comma separated conditions to transitions in the Create on Transition app
More like this
How to create issues or sub-tasks based on the component value
How to create issues or sub-tasks based on the component value
More like this