I am trying use Scriptrunner's "Create a sub-task" post-function to automatically create a subtask on a particular transition when number custom field (named "# Maps") has a value above 25. We'd like to create a subtask for checking maps when the parent issue indicates there are a lot of maps.
I can't figure out the syntax for the post-function's condition. Below is basically what I need, but of course, the ">=" isn't valid.
cfValues['# Maps'] >= '25'
Jira Server v7.9.2
ScriptRunner v5.4.12
Any ideas? Thanks in advance!