How to send a download request comment using BitBucket REST api 2.0?

Using the REST API 1.0, I can do the following

POST /api/1.0/repositories/{owner}/{repo}/pullrequests/1/comments 

What is equivalent to this in 2.0? 2.0 documentation for pullrequests resource states. Finally, you can use this resource to manage comments on the pull request. "I don't see POST for comments like 1.0 to a friend; neither PUT does anything about comments.

Publish comments on PR supported in 2.0?

+11
source share
2 answers

Unfortunately, comments for reply requests are currently only available in version 2.0. We are definitely striving to complete this API, but these efforts have not been given high priority.

At the moment, 1.0 remains the only way to change PR comments.

Also see: https://answers.atlassian.com/questions/32977327/are-you-planning-on-offering-an-update-pull-request-comment-api

+5
source

I know that quite a lot of time has passed since the question was asked, but for people coming to this post:

Bitbucket has finally added a way to post comments using API 2.0. You can check the documentation for more information.

And here is an example:

 curl -X POST -d '{"content": { "raw": "your comment" }}' $URL 
+1
source

All Articles