# How to get a list of all GitHub open pull requests

**URL:** <https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570>\
**Category:** Development\
**Tags:** github\
**Created:** [July 24, 2015, 2:42pm UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570 "2015-07-24T14:42:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 24, 2015, 2:42pm UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/1 "2015-07-24T14:42:50Z")

</div>

Burke,

You once shared something that lists all open pull requests under openmrs on github. Can you remind me what it was? Or does any one else have such a tool? 😄

---

<div class="post-metadata">

**Author:** ![yousefhamza](https://talk.openmrs.org/user_avatar/talk.openmrs.org/yousefhamza/32/659_2.png) [@yousefhamza](https://talk.openmrs.org/u/yousefhamza)\
**Post date:** [July 24, 2015, 3:00pm UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/2 "2015-07-24T15:00:02Z")

</div>

You can get it via a Github REST APIs Details here: [https://developer.github.com/v3/pulls/#list-pull-requests](https://developer.github.com/v3/pulls/#list-pull-requests)

---

<div class="post-metadata">

**Author:** ![lluismf](https://talk.openmrs.org/user_avatar/talk.openmrs.org/lluismf/32/770_2.png) [@lluismf](https://talk.openmrs.org/u/lluismf)\
**Post date:** [July 24, 2015, 4:16pm UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/3 "2015-07-24T16:16:11Z")

</div>

Put this on the search box: **is:open is:pr user:openmrs**

With url format: [https://github.com/pulls?utf8=✓&q=is%3Aopen+is%3Apr+user%3Aopenmrs](https://github.com/pulls?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+user%3Aopenmrs)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 25, 2015, 7:00pm UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/4 "2015-07-25T19:00:48Z")

</div>

Lluis, that is exactly what i was looking for! Thanks man!!! 🙂

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [July 25, 2015, 7:05pm UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/5 "2015-07-25T19:05:38Z")

</div>

Yousef, thanks too for the alternative! 🙂

---

<div class="post-metadata">

**Author:** ![burke](https://talk.openmrs.org/user_avatar/talk.openmrs.org/burke/32/17_2.png) [@burke](https://talk.openmrs.org/u/burke)\
**Post date:** [August 28, 2015, 3:55am UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/6 "2015-08-28T03:55:15Z")

</div>

Sorry for taking so long to respond…

[http://burkeware.com/openmrs-pull-requests/](http://burkeware.com/openmrs-pull-requests/)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [August 28, 2015, 6:00am UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/7 "2015-08-28T06:00:03Z")

</div>

Hahahaha. Though it gives me a blank page. 🙂But anyway, i ended up using what Lluis suggested: _is:open is:pr user:openmrs_

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [August 28, 2015, 8:18am UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/8 "2015-08-28T08:18:54Z")

</div>

BTW the url to list all PRs is also mentioned here [https://wiki.openmrs.org/display/RES/Community+Development+Swim+Lane](https://wiki.openmrs.org/display/RES/Community+Development+Swim+Lane)

---

<div class="post-metadata">

**Author:** ![burke](https://talk.openmrs.org/user_avatar/talk.openmrs.org/burke/32/17_2.png) [@burke](https://talk.openmrs.org/u/burke)\
**Post date:** [August 28, 2015, 12:53pm UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/9 "2015-08-28T12:53:20Z")

</div>

> [@dkayiwa](#):
>
> Hahahaha. Though it gives me a blank page. But anyway, i ended up using what Lluis suggested: _is:open is:pr user:openmrs_

Try reloading it at the original URL (removing any “/#/…” added by Angular). It needs OAuth to GitHub (just access to public information on your behalf), since anonymous calls are rate limited. If you still can’t get it to work, let me know what error(s) you’re seeing in Chrome’s console.

While github’s list is good for day-to-day use, the Angular app adds a few bits, like average lifespan of pull requests shown and highlights pull requests with unanswered comments (i.e., last comment by person who submitted the pull request), which may be helpful in curating.

---

<div class="post-metadata">

**Author:** ![r0bby](https://talk.openmrs.org/user_avatar/talk.openmrs.org/r0bby/32/6479_2.png) [@r0bby](https://talk.openmrs.org/u/r0bby)\
**Post date:** [August 31, 2015, 10:00am UTC](https://talk.openmrs.org/t/how-to-get-a-list-of-all-github-open-pull-requests/2570/10 "2015-08-31T10:00:04Z")

</div>

Please leave the [id dashboard PR](https://github.com/openmrs/openmrs-contrib-id/pull/82) alone 🙂

Also, @burke, you inspire me…you’re brilliant!
