In Jira Server and Data center, when dealing with conditions, validators, post functions, listeners etc, Script Runner allows you to either place the scripts in line or to point to a script in the file system. This allows managing the scripts code in a version control system.
In Jira Cloud there is no option to point to a script in the file system. All scripts are in line.
How can they be managed in a source control system?