I am using Bitbucket 4.4.1 with ScriptRunner 126.96.36.199 and I am attempting to use the Built In Script functionality to clone our Bitbucket Cloud repositories to a local Bitbucket server. It seems that ScriptRunner is basically doing nothing, despite having configured the section Mirror Bitbucket Team and checking Configure Mirrored Repositories. In the Mirror Bitbucket Team section, after providing correct details for the cloud instance, I click Preview and I get the unhelpful message "This could take a long time so tail the logs for more information" (Really? What logs? Where?). If I go to Configure Mirrored Repositories section and then attempt to manually sync repositories, I get another unhelpful message saying "Nothing to do". I've tailed all the logs I can think of and can find no information as to what's going wrong.
Can someone please enlighten me on what's going on here? I have a ton of repositories in Bitbucket Cloud that I want synchronized to our local Bitbucket server, but the ScriptRunner doesn't appear capable. Please advise.
Do you see anything else after "This could take a long time so tail the logs for more information", or just this message?
Your looking for a file called
I would expect to see an Exception or warning message if things did not work.
It sounds like its connecting to Bitbucket. Could you enter in the "Regex" field the name of just one repository to see if anything is returned.
I only see the "This could take a long time" message. I checked the log file you noted in /var/atlassian/application-data/bitbucket/log. There are no exceptions or warnings that I can find. Running "tail -f" against the log file and then retrying the whole synchronization process, even with debug level logging, shows no warnings or errors.
The user I am connecting to Bitbucket cloud with has full permissions for all repos. Any user account I try ends up with the same results.
I have tried specifying a single repository and nothing is returned there also. Am I missing a dependency for ScriptRunner? It seems as though the scripts aren't even running at all. SELinux is set to Permissive mode and iptables is turned off on the host.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs