Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why do I get 403 code when try to approve PR via REST API?

Dmitrij Abashin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2024

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.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events