Skip to content

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

@DHaussermann

Description

@DHaussermann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty/1:EasyEasy ticketGood First IssueSuitable for first-time contributorsHelp WantedCommunity help wantedTech/GoType/BugSomething isn't workingUp For GrabsReady for help from the community. Removed when someone volunteers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions