lvermeulen / Bitbucket.Net

C# client for Atlassian Bitbucket Server
MIT License
32 stars 18 forks source link

Incorrect JSON Format When Adding Comments to PRs #21

Closed lrv1668 closed 3 years ago

lrv1668 commented 3 years ago

When adding comments to a PR, this API call expects an achor key. This allows the comment to be applied to a line of a file in a diff.

As far as I can tell, CreatePullRequestCommentAsync doesn't format the JSON data with the anchor key, meaning that comments only get applied at the overview level.

lvermeulen commented 3 years ago

Thanks for the PR, @lrv1668 !