Hi
I am planning to Mirror Bitbucket repositories using Script Runner.
Fields requested by Script runner for "Mirror Bitbucket Server repositories"
1. Project : "Dashboard"
2. Target project : Selection from Existing List
3. Bitbucket User name on "Admin" User
4. BitBucket Password as "Admin user password"
5. base URL : Source Server URL
After providing above details, I just pressed PREVIEW to see the status.
Most of the times, it throws error stating "rest".
Not able to find any error message on LOG file.
Please help to resolve the issue.
in the 'Project' field, you need to fill in the project key (not name) of the project in the source server.
We have recently improved the errors you see when previewing a git mirror script, if you try ScriptRunner 7.12.0 or higher you will see much better messages like 'Project not found', 'wrong url' etc
Kind regards,
Yannis Argyrropoulos
Scriptrunner for Bitbucket
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.