Pull request comments
To enable comments on your pull requests you must add the Bitbucket Server integration to each of your repositories.
After you add a repository on Codacy go to the repository Settings -> Integrations and add Bitbucket Stash. Click on the checkbox to enable the pull request comments.
Below is an example of a Codacy comment: