Hi all!
I add a reviewer to a pull request and then try to approve the PR via
PUT /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug}
I use the HTTP token from the user whose userSlug I use in the URL.
But whatever I do I get the error: {"message":"You may only update your own status.","status-code":403}
The product is server, I have no option for this, IDKW.
Please give me a clue, I really have no idea what is wrong here.
I'm also encountering this problem. I can approve PRs just fine through the API with basic user credentials (username/password), but not with repository-level HTTP access tokens. I've tried multiple options for userSlug with no success.
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.