stashy
stashy copied to clipboard
Checking All the Merged Pull Requests.
Hello All,
I wanted to know if I can see all the merged Pull request relates to a repository. Can someone tell me if there exists a function for that? or can we take it as a feature requests.
I'd also like this.
looks like not hard to implement
/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests?state=MERGED
I could do it like this: prs = stashy.projects[project].repos[repo].pull_requests.all(state='MERGED')
it will return a generator, so you can convert it to list: list(prs)