This question is in reference to Atlassian Documentation: pullrequests Resource 1.0
According to this page (https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html#OAuthonBitbucketCloud-Scopes), commenting on a pull request only requires the 'pullrequest' scope. However when I try to post to 'https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/pullrequests/{pull_request_id}/comments' the x-accepted-oauth-scopes header is 'pullrequest:write'. What is the reasoning behind this?
Thanks!
Looks like the documentation claiming that only "pullrequest" is required, is wrong. Since posting comments to pull requests is a write operation, is requires "pullrequest:write".
Thanks for the answer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.