pull-request-notifier-for-bitbucket
pull-request-notifier-for-bitbucket copied to clipboard
Button and notification configuration to be retained if Bitbucket project key is renamed
The pulll request notifications configurations is no longer listed after the Bitbucket project key is renamed. The pull request notification configurations associated with the project/repository should be retained if the project key is renamed.
Environment:
- Pull Request Notifier version 3.23
- Bitbucket Server version 5.15.0
You must have upgraded from a very old release. I will not spend time on that.
In a test Bitbucket Server environment, I am able to reproduce the issue whereby the notification configuration is not listed in the repository after renaming the project key (Pull Request Notifier version 3.24 and Bitbucket Server v5.15.0):
- Create a repository
- From the Repository settings -> Pull request notifications: Create a new notification and save. The notification is listed as "<project key name> <repository name> <name that I provided>" from the Notification pull down list.
- Verify that the notification is saved for that new repository
- Rename the project key
- The notification configuration is no longer listed in the Repository settings -> Pull request notifications
It is noted:
- that from the "Configure" button in the Manage apps' pull-request-notifier-for-bitbucket, I do see the notification created for the new repository in the Notifications list. If I select the notification that was created for the new repository, in the Trigger section, "Any" is listed as the value for the Project and Repository field.
- If I rename the project key back to its original name: ** The notification that was created is now listed in the Repository settings -> Pull request notifications ** From the "Configure" button in the Manage apps' pull-request-notifier-for-bitbucket, if I select the notification created for that new repository, the values for the Project and Repository fields are correct.
If the Bitbucket project key is renamed and the notification configuration is no longer listed for the repository, would the fix be to update the Project and Repository fields to the correct values from the "Configure" button in the Manage apps' pull-request-notifier-for-bitbucket?
Ok I see. My previous comment is not correct. Your issue is a known problem. Not sure if there is any old issue for it.