Jira Data Center: Get REST Integrations Ready for the Cloud with Unirest

How to adjust Jira Data Center REST integration scripts with Unirest to be compatible with ScriptRunner Cloud