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

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.
October 13, 2022


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
AUG Leaders

Atlassian Community Events