Adaptavist provides documentation about extending Jira functionality through groovy scripts. Unfortunately, it's not clear what bindings can be used where.
Different bindings are used inconsistently and some are missed, so figuring out what can be used and what cannot be is guesswork.
For example, documented bindings for https://scriptrunner.adaptavist.com/latest/jira/scripted-fields.html#_scripting scripted fields.
To get access to custom field value I need to use getCustomFieldValue, besides such key binding as issue is missed altogether.
Now, documented bindings for workflow scripts https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_technical_stuff_for_advanced_users
To get access to custom field value I need to use cfValues, and way more shortcuts compared to what I allegedly can use in script fields.
Question
Is there a cheat-sheet/document that outlines bindings for different scripts to eliminate/minimize the guesswork.
Console these bindings
Built-in scripts: these bindings
Transition scripts: these bindings
Scripted fields: these and so on