You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varpr=awaitclient.CreateRepositoryPullRequestAsync(workspaceId,repositorySlug,newPullRequestCreationParameters{Title=$"Auto-merge for release {version} completion.",Source=newHasName{Name=releaseBranch},Destination=newHasName{Name="develop"}}).ConfigureAwait(false);
Code:
Error:
Unhandled exception. Flurl.Http.FlurlHttpException: Call failed with status code 400 (Bad Request): POST https://api.bitbucket.org/2.0/repositories/english1/auth2/pullrequests
According to the API document (link), the expected request body is
The actual request body is
Furthermore, PullRequestCreationParameters requests Reviewer but it is not used when sending the REST request.
The text was updated successfully, but these errors were encountered: