lvermeulen / Bitbucket.Net

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

Add support for tasks (blocker comments) on pull requests #23

Open roger-strain opened 3 years ago

roger-strain commented 3 years ago

I'm not sure which API version introduced the change, but tasks on pull requests are now called "blocker-comments". Would it be possible to add support for those?

Per the docs here: https://docs.atlassian.com/bitbucket-server/rest/7.4.0/bitbucket-rest.html

http://example.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments

seems to mirror

http://example.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments

fairly closely.

lvermeulen commented 3 years ago

Hi @roger-strain , I would welcome a pull request for this.

kevwo commented 2 years ago

@lvermeulen PR opened for this issue (Not mine): https://github.com/lvermeulen/Bitbucket.Net/pull/26

Any chance this will get merged/published soon?