Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
None
-
None
-
None
-
0
Description
You get following exception in the logs when create a Bitbucket or GitHub mirror and going to the configure mirrored repos scripts:
2018-06-19 16:40:19 [http-nio-8080-exec-5] ERROR c.a.p.r.c.e.j.ThrowableExceptionMapper - Uncaught exception thrown by REST service: No such property: type for class: com.onresolve.scriptrunner.canned.bitbucket.admin.mirror.BitBucketRemoteRepo groovy.lang.MissingPropertyException: No such property: type for class: com.onresolve.scriptrunner.canned.bitbucket.admin.mirror.BitBucketRemoteRepo at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setProperty(ScriptBytecodeAdapter.java:486) at com.onresolve.scriptrunner.canned.bitbucket.admin.mirror.ConfigureMirroredRepos$_getConfigured_closure1.doCall(ConfigureMirroredRepos.groovy:73)
We also need to distinguish between GitHub and Bitbucket repos to display the correct image in the configured repos scripts.
Ideally this should be done properly in React as part of this.