You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I get this error when I want to merge via API 2.0
{"type": "error", "error": {"message": "newstatus: Merging a pull request requires write access to the destination branch.", "fields": {"newstatus": ["Merging a pull request requires write access to the destination branch."]}}}
Hello @gcordobap ,
Welcome to Atlassian Community!
Based on the error message you are receiving, the user you are using to authenticate the API call does not have write access to the destination branch (or the destination repository in case of a fork) of the pull request
This could happen if :
I would suggest checking the two scenarios above to confirm if any of those access settings are preventing your user to merge the pull request.
Hope that helps!
Thank you, @gcordobap
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.