Versions Compared

Key

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

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

Instructions

Perform the stepsfollowing:

  1. Login as a Jira Administrator and click Image Modified > Issues.

...

  1. Click Add custom field

...

  1.  in the top-right corner.
  2. Select

...

  1. Field Type as Select List (multiple choices)

...

  1. , and click Next.

...

  1. Enter Name, Description (optional) and Options in the respective fields, and

...

  1. click Create.

...

  1. The Screens section is shown.

...

  1. Select the required workflow screen(s), and click Update.
  2. In the Workflows tab, click

...

  1. the Edit link to modify the required workflow.
  2. Select the transition for which you want to add

...

  1. or edit post function. Select the Post Functions option.
  2. Click Add post function

...

  1. Navigate to

...

  1. the Conditions and Configurations

...

  1.  tab and add the custom field with Regular Expression pattern| ) as mentioned

...

  1. below

...

  1. :

          

      10. Click on Click Update and Publish the workflow.       Example test case:         1. Multi-select values for the custom field Services

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.

     

...

      Image Added   

...

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. 

            Image Modified

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

Info

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