Bitbucket actions not available at all
What I see in the log files is
2017-03-01 10:30:46,834 [1337250] DEBUG - BitbucketReferences - Disabled BitbucketCreatePullRequestAction action for file ....
Any idea why this happens?
Comments (10)
-
staff -
staff Hi @thomastardy ,
Did you have a chance to find out what remotes are listed for the repository where Linky doesn't work?
Regards, Daniil
-
staff - changed status to closed
I'm closing this issue due to inactivity. Feel free to reopen if you still experience the problem you've described.
Regards, Daniil
-
reporter Hi @dpenkin
Sorry for missing your replies. For whatever reason I didn't receive notifications.
To answer your questions. * I'm using git repositories *
git remove -v
showsorigin ssh://git@aaa.aaaaaa.com:9876/aa/aaaaaa.git (fetch) origin ssh://git@aaa.aaaaaa.com:9876/aa/aaaaaa.git (push)
Thanks for your help!
-
reporter - changed status to open
-
staff Hi @thomastardy
No worries, I'm happy to help :)
I guess you're trying to get Linky working in a project that is hosted on Bitbucket Server. What is the HTTP URL of its UI? Is it available at
http://aaa.aaaaaa.com
orhttps://aaa.aaaaaa.com
? Or maybe it has different application path, e.g.https://aaa.aaaaaa.com/some/path
?The reason I'm asking is that Linky tries both HTTP and HTTPS on the same host in case it found a remote pointing to SSH, like in your case. However, if the port is non-standard (not 80 for HTTP, not 443 for HTTPS) or if app path differs from SSH, it won't be able to detect BBS.
So if this is the case, you can manually configure the base URL that Linky should use for the repo. To do that, go to IntelliJ properties and find Bitbucket Linky tab (in IDEA it'll be under Other Settings, in other IDEs it might be just in the bottom of the sidebar menu) and set up the base Bitbucket Server URL, like on the screenshot.
Make sure that that's the correct URL cause at the moment you won't be able to easily modify it after you save the changes. You can use "Test in browser" button to verify that Linky built the correct URL for the repository.
Let me know if that helped. Otherwise we'll look further in what might be going wrong with Linky.
Cheers, Daniil
-
reporter Hi @dpenkin
Thanks, it works perfect now. Sorry, didn't see this configuration option before.
Cheers, Thomas
-
staff Awesome, I'm glad to hear it works now.
I'm closing this issue then. Let me know if you have any other issues or ideas of improvements for Linky.
Cheers, Daniil
-
staff - changed status to closed
-
staff - removed version
Removing version: 3.1 (automated comment)
- Log in to comment
Hello @thomastardy,
Thank you for trying out Bitbucket Linky!
It looks like it was not able to detect that your remote repository is hosted on Bitbucket. The possible reasons depend on your setup. Linky logs some notes when it attempts to discover remote hosting, and that happens after you open the project and then every few minutes, if some of the repositories have not been recognized.
Let's start with inspecting remotes. Is you repository under Git or Mercurial?
git remote -v
?hg paths
?Cheers, Daniil