Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get list of pull requests filtered by date?

Eyal Goren July 28, 2019

Hi,

We have Bitbucket server (not cloud!!!) version 5.13.1 and we need to display per project list of pull requests that were updated in the last week.
When we try something like this-
https://<host>/projects/<project name>/repos/<repo name>/pull-requests?q=updated_on+%3e+"2019-07-171T20:20:35"

It ignores the filter and display the full list of pull requests (It does receive filter on the STATE field)

I understood that the REST API can be used - but when I try run-

https://<host>/rest/api/2.0/projects/<project name>/repos/<repo name>/pull-requests?q=updated_on+%3e+"2019-07-171T20:20:35"

I receive error 404 (page not found)

Any ideas?

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events