Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,463
Community Members
 
Community Events
184
Community Groups

Script Runner behavior for MIRROR Repositories

Sivarama Krishna
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 13, 2022

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.

1 answer

Hi @Sivarama Krishna 

 

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events