It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get Pull-Requests using REST API returns only 1 pull request Edited

I am trying to get list of pull requests for a given repository but the response  contains details of only 1 pull request. The documentation says the pull-requests API endpoint is a PagedAPI (https://developer.atlassian.com/static/rest/stash/3.11.6/stash-rest.html#idp3175008), but the results shows there is only one record (isLastPage = true). I am not sure what is going wrong.

end point: https://<server>/rest/api/1.0/projects/RS/repos/repo_name/pull-requests

response:

{
"size": 1,
"limit": 25,
"isLastPage": true,
"values": [...],

"start": 0
}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Continuous Delivery

Our Atlassian Partners continue to support their customers during coronavirus pandemic

Across the world, governments and healthcare authorities are demonstrating the power of collaboration to find solutions to the COVID-19 pandemic, to protect our communities, and to get things back to...

742 views 0 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you