forked from drone/go-scm
-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Attempting to create Lighthouse Triggers with bitbucketserver as SCMProvider.
However, it never identifies anybody as Collaborator.
I assume the error lies here:
go-scm/scm/driver/bitbucket/repo.go
Line 186 in 499f2b2
| path := fmt.Sprintf("/2.0/workspaces/%s/permissions/repositories/%s?q=user.account_id=\"%s\"", wsname, reponame, user) |
This fits the Bitbucket Cloud API: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/#api-user-permissions-workspaces-get
However the Bitbucket Server API seems to work differently:
https://docs.atlassian.com/bitbucket-server/rest/7.18.1/bitbucket-rest.html#idp297
Metadata
Metadata
Assignees
Labels
No labels