pull-request-notifier-for-bitbucket
                                
                                 pull-request-notifier-for-bitbucket copied to clipboard
                                
                                    pull-request-notifier-for-bitbucket copied to clipboard
                            
                            
                            
                        Error when project admin tries to configure button/notification
When a user is not admin in the instance, but is admin for the project, Creating button or notification seems to cast some error.

I made a quick test and it works for me. I can create notifications and buttons.
Ok. Thank you for getting back to us. I will run through a few use cases to verify in what scenarios we experience the problem.
I have run this scenario: Bitbucket 4.9.1 PRNB: 2.37 Project and repo exists since previous versions of Bitbucket.
User has Global Permission "Bitbucket User" User has project permisson "Admin" No specific permissions set on repo
User goes into repo settings for Pull Request notifier and tries to create a button.
User get the error shown in the screenshot.
I made a small docker-compose to ease fiddle with this.
I found another issue. That if you create a button as a project admin, and dont select visibilty, the button will not be visible for you. It will be visible for system admins and therefore not shown after its saved.