Hello,
I want a workflow to only run when the field remaining estimate is not empty.
When starting the transition, the following screen shows:
By default, the "Remaining Estimate" is empty.
My validator looks like this:
issue.getEstimate() != ''
I have also tried
issue.getEstimate() != null
Both codes don't work. After confirming, the transition just runs and the status is changed.
I just ran a test to see if the getEstimate works and the validator
issue.getEstimate() == 3600
returns the following after confirming:

The error message was defined by me, so no worries there.
Obviously the validator works now.
I noticed that I left the remaining estimate empty, then clicked, and suddenly the remaining estimate is automatically filled with the original estimate and the error message shows.
So, TLDR:
How do I set up a validator to block remaining estimate from being empty?