Versions Compared

Key

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

To get the original issue value when a new issue is created configured using Creation on Transition post functions, substitution variables are required. This article explains how to get the original issue value with a condition applied to a substitution variable.

Instructions

  1. Log into Jira as an Administrator and navigate to  > Issues.
  2. From the left sidebar, select Workflows under the WORKFLOWS section.
  3. Select the required workflow and click Edit
  4. Click the transition for which Create on Transition is configured.
  5. Select Post Functions and clickImage Modified to edit the Create Issue post function.
    Image Modified
  6. Select the Conditions & Configuration tab on the left sidebar.
  7. Enter the condition, for the issue to be created, only when the condition is met as follows:

    Tip
    • You must add %original_customfield name% to the condition. For example, if Pending reason is the custom field name, use %original_Pending reason%.
    • For regular expression, give the expected value of the field.
    • Select any of the checkboxes (Exact, Literal and Negative) as per your requirements.


  8. Update the configuration and the updated post function looks as:
    Image Modified
  9. Publish the workflow before executing the transition.

...