pull-request-notifier-for-bitbucket
pull-request-notifier-for-bitbucket copied to clipboard
Stale configuration
If things don't work as you expect, perhaps you should file an issue. But first, try troubleshooting it and provide as much info as possible. Here are some things that may help if added to an issue.
- Plugin version used.
- Bitbucket Server version used.
- Stack traces in Bitbucket Server log file.
- Any browser console log messages, you can find it in Developer Tools in Chome by pressing F12.
- Your configuration:
- http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings
- http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings/buttons
- http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings/notifications
- If the system you are trying to notify does not seem to get notified:
- Check that the triggered URL looks as expected. You can do that by invoking https://requestb.in/ and inspect its results.
- Try to SSH to the Bitbucket Server machine and run same URL with Curl to make sure it's not a firewall issue.
If you do not have access to the server log files, one idea is to:
- Also trigger on button pressed, and add a button
- Open a PR
- Open Chrome developer tools, F12
- Press the button in the PR
- Check the response in the network tab in Chrome. See if it contains something interesting
In bitbucket logfiles I see that pull-request seems to try to access a server which isn't available any more. But I can't find the place where this is configured. Maybe it was even deconfigured but seems to exist further in the database. How could I find out where this is configured or how could I remove it directly from the database?
You can find it in the rest-endpoints:
- http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings
- http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings/buttons
- http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings/notifications
The URL is shown in the rest output. repositorySlug is the repo, correct? But I can't find the configuration there.
You need to be logged on with a user that has credentials to view the problematic repository.
Den mån 11 feb. 2019 09:38mbrennerby [email protected] skrev:
The URL is shown in the rest output. repositorySlug is the repo, correct? But I can't find the configuration there.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/320#issuecomment-462250967, or mute the thread https://github.com/notifications/unsubscribe-auth/AAa1E3Xqk5sF91lOKj4eKUfZrqJ1uS44ks5vMSv4gaJpZM4azrf9 .
I have admin rights on that repo. But the whole settings section for pull request notifications is empty.
I'm also seeing the same problem on our server. We have 2 notifications configured. When I use the rest andpoints as described above I can see the notification settings data as expected, but when I go to the plugin configuration web page (https://bitbucket.crv4all.com/plugins/servlet/prnfb/admin) as authorized user I cannot see the settings. Debug console shows that xhr request are made to the API and the /rest/prnfb-admin/1.0/settings/notifications request returns the same data. There are no errors logged in the javascript console and no other xhr requests are failing.
Any idea what could be wrong? W're running Bitbucket server version 5.12.