How to run scripts against Jira Cloud from my laptop?

I have a script that will pull all assets in our system and will create a ticket for each one. In scriptrunner this script times out and does not grab all the items. Is there a way to run this script from my machine?