mattermost-community / mattermost-plugin-bitbucket

Mattermost plugin for Bitbucket
Apache License 2.0
6 stars 16 forks source link

Attach modal shows a json error when restricting the organization to something other than were the oAuth app is setup #54

Open DHaussermann opened 2 years ago

DHaussermann commented 2 years ago

I'm not clear on the business logic for Bitbucket but it seems that it will only work with an organization where the oAuth app is setup. If I then set a organization lock to a different organization, The attach modal shows a json error. image

For context - in the same scenario, the create modal simply shows no repos available image

Steps:

Observed: The modal shown an invalid json error

note: 0/5 For Bitbucket, the organization lock may not be of much use. I'm not sure it can be used across multiple organizations.