You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.