if (transientVars.get("comment")) { ... }
Question was answered here by Jamie Echlin:
Question
we'd like to use the Groovy Runner plugin for Jira to validate if a user has entered a comment in a workflow transition screen.
Since this is part of a larger script, we have to stick to Groovy Runner and cannot use another plugin.
Any help how this can be done would be greatly appreciated.
Regards, Jochen
Solution
if (transientVars.get("comment")) { ... }
Question was answered here by Jamie Echlin: