diff --git a/internal/scm/bitbucketcloud/bitbucket_cloud.go b/internal/scm/bitbucketcloud/bitbucket_cloud.go index 1fa66f1f..ac0c1d55 100644 --- a/internal/scm/bitbucketcloud/bitbucket_cloud.go +++ b/internal/scm/bitbucketcloud/bitbucket_cloud.go @@ -93,7 +93,7 @@ func (bbc *BitbucketCloud) UpdatePullRequest(ctx context.Context, repo scm.Repos // Note the specs of the bitbucket client here, reviewers field must be UUID of the reviewers, not their usernames prOptions := &bitbucket.PullRequestsOptions{ ID: fmt.Sprintf("%d", bbcPR.number), - Owner: bbc.workspaces[0], + ID: fmt.Sprint(bbcPR.number), RepoSlug: repoSlug[4], Title: updatedPR.Title, Description: updatedPR.Body,