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

List pull requests that contain a commit not giving the full output reponse

Akshara Anilkumar September 6, 2023

When I am using this url it is not giving the full reponse as which is shown in the document of bitbucket cloud. Is there any reason why this is happening ?(document link:

 curl --request GET \ --url '{workspace}/{repo_slug}/commit/{commit}/pullrequests' \ --header 'Accept: application/json'


This is how I am getting my output but whereas in the document it is showing a lot more .

"type": "paginated_pullrequests",
"values": [
"type": "pullrequest",
"id": 15,
"title": " created online with Bitbucket",
"links": {
"self": {
"href": ""
"html": {
"href": ""
"page": 1,
"pagelen": 50

1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2023

Hey @Akshara Anilkumar 

Welcome to the community!

I can reproduce the same response as you, so I am checking this internally to see if the endpoint has a bug.

As a workaround, I believe if you use the `?fields=` options to get the fields you need, it should return the desired outcome, so please try it and let me know if that works.


Akshara Anilkumar September 7, 2023

Hi @Syahrul 

Thankyou for the reply. Actually its working when the endpoint is given like this:

Is it possible to resolve this bug as soon as possible?

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events