laravel-gitscrum icon indicating copy to clipboard operation
laravel-gitscrum copied to clipboard

Bitbucket

Open cognitus opened this issue 7 years ago • 6 comments

@renatomarinho can you indicate what files are used for oauth (structure)? maybe I can do something...

Bitbucket send this response:

User {#391 ▼
  +token: "{token}"
  +refreshToken: "{refreshToken}"
  +expiresIn: 3600
  +id: "{xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"
  +nickname: "{username}"
  +name: "{name}"
  +email: "{email}"
  +avatar: "https://bitbucket.org/account/{username}/avatar/{id}/"
  +user: array:11 [▼
    "username" => "{username}"
    "website" => "{website}"
    "display_name" => "{name}"
    "account_id" => "557058:xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    "links" => array:8 [▼
      "hooks" => array:1 [▼
        "href" => "https://api.bitbucket.org/2.0/users/{username}/hooks"
      ]
      "self" => array:1 [▶]
      "repositories" => array:1 [▼
        "href" => "https://api.bitbucket.org/2.0/repositories/{username}"
      ]
      "html" => array:1 [▶]
      "followers" => array:1 [▼
        "href" => "https://api.bitbucket.org/2.0/users/{username}/followers"
      ]
      "avatar" => array:1 [▼
        "href" => "https://bitbucket.org/account/{username}/avatar/{id}/"
      ]
      "following" => array:1 [▼
        "href" => "https://api.bitbucket.org/2.0/users/{username}/following"
      ]
      "snippets" => array:1 [▼
        "href" => "https://api.bitbucket.org/2.0/snippets/{username}"
      ]
    ]
    "created_on" => "20xx-xx-xxTxx:33:54.550898+00:00"
    "is_staff" => false
    "location" => null
    "type" => "user"
    "uuid" => "{xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"
    "email" => "{email}"
  ]
}

so we have uuid instead id so i have change the type in DB users.provider_id for accept this type or create a new Column, any ideas?

cognitus avatar Jun 22 '17 16:06 cognitus

Nice. I will work to integrate the Bitbucket on GitScrum

renatomarinho avatar Jul 18 '17 14:07 renatomarinho

@renatomarinho Curious if there is any update on Bitbucket support?

jaredloman avatar Aug 30 '17 18:08 jaredloman

@renatomarinho any news?

cognitus avatar Sep 15 '17 21:09 cognitus

Hi @cognitus,

We have integration with Bitbucket (by @Te7a-Houdini ). Have you tried it? Works well?

renatomarinho avatar Nov 15 '17 02:11 renatomarinho

not, today I installed... it works, but has some bug, for example:

  • not return all repositories from organization
  • icon of github appears en product backlog imagen

cognitus avatar Nov 18 '17 15:11 cognitus

I detected those issues also. I don't find the differences between two of my repos that are, one listed, and the another one don't.... interesting. Also, as @cognitus said, the icon for github is displayed even when these are bitbucket repositories.

supermarcos avatar Jan 19 '18 08:01 supermarcos