How to see if a GitHub issue has a pull request using API?
<p>I like to show a list of issues and also indicate which of the issues has a pull request attached to it, all using the API</p>

<p>So I get the list of issues using:
<a href="https://developer.github.com/v3/issues/" rel="nofollow">https://developer.github.com/v3/issues/</a></p>

<p>but how can I detect if an issue has a pull request?</p>

<p>Using the web interface I can see on the issue UI if a issue has a pull request, but I can't seem to see that using the API</p>