Use case: Based on the custom field, Question, with value “Yes” or “No” transition of the current issue happens. If the selected value is Yes, the issue shall go to Review status and if the value is selected as No, it shall go to Done status.
Navigate to the desired workflow transition and add the Transition Issue post function.
Add the target transition Id of the specific workflow and custom field Id based on your Jira instance.
Enter the below Condition Execution which will make sure to execute the post function when this condition is true.