The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm trying to create pull request in bitbucket via its API.
API description: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/pullrequests
This is an object I'm passing to the API
{
username : 'derbeerk',
repo_slug : 'lisatest',
title : 'title',
description : 'description',
source : { branch: { name: '1_package' }},
destination : { branch: { name: 'master' }},
reviewers : '{13e7e98b-414b-4345-9a63-5a59d76f8032}'
}
In return I get an errors like this
StatusCodeError: 500 - {"type":"error","error":{"message":"'list'","id":"0436de5105664825bb69a5e80c65614d"}}
I tried to change reviewers to username, uuid without curly braces, add trailing comma, etc.. always got the same error in return.
P.S. If I remove reviewers property - pull request would be created perfectly fine
Hello,
Just cross-posting the answer I shared earlier on https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-ERROR-creating-pull-request-with-reviewers/qaq-p/648556.
Hope that helps,
Caterina
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.