Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DHaussermann opened this issue Dec 22, 2021 · 0 comments
Labels
Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Help Wanted Community help wanted Tech/Go Type/Bug Something isn't working Up For Grabs Ready for help from the community. Removed when someone volunteers

Comments

@DHaussermann
Copy link

DHaussermann commented Dec 22, 2021

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:

  • Login to your Bitbucket org such as https://bitbucket.org/DHaussermann
  • Setup and configure the plugin oAuth using the instructions in the read-me
  • Connect a test user
  • Save some other value in the Organization lock such as token-org
  • Make or locate a post
  • Select the ... menu and Attach to bitbucket

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.

@DHaussermann DHaussermann added Type/Bug Something isn't working Triage labels Dec 22, 2021
@hanzei hanzei added Difficulty/1:Easy Easy ticket Help Wanted Community help wanted Tech/Go Up For Grabs Ready for help from the community. Removed when someone volunteers Good First Issue Suitable for first-time contributors and removed Triage labels Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Help Wanted Community help wanted Tech/Go Type/Bug Something isn't working Up For Grabs Ready for help from the community. Removed when someone volunteers
Projects
None yet
Development

No branches or pull requests

2 participants