How to get the original issue value using substitution variables with the Create on Transition for Jira app
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
Log into Jira as an Administrator and navigate to
> Issues.
From the left sidebar, select Workflows under the WORKFLOWS section.
Select the required workflow and click Edit.
Click the transition for which Create on Transition is configured.
Select Post Functions and click to edit the Create Issue post function.
Select the Conditions & Configuration tab on the left sidebar.
Enter the condition, for the issue to be created, only when the condition is met as follows:
Update the configuration and the updated post function looks as:
Publish the workflow before executing the transition.
The new issue is created only if the condition is met after the transition occurs.
It is recommended to test this scenario in a test environment before deploying it in production.