I followed the steps here explaining how to Mirror Bitbucket cloud with ScriptRunner.
I tried to use Built in Script to mirror a repository, i have the correct credentials in but when I run a preview it doesn't show any of my repositories and in the log it says:
/rest/scriptrunner/latest/canned/com.onresolve.scriptrunner.canned.bitbucket.admin.mirror.BitbucketMirrorCannedScript/preview HTTP/1.1" c.o.s.c.b.mirror.BitbucketMirror Failed: more info may be here: null
I have no idea what how to diagnose the issue because after failing there is not info. Does anyone know what the possible error could be?