establish relation between merge commit on master with squashed and merged PR

Viewed 33

I am currently experimenting with Github API v3 and want to establish a relation between the latest merge commit on master branch with a sqashed, merged and closed PR.

Is it even possible with their APIs?

1 Answers

I figured it out. I query the issues endpoint with the merge commit id to get the PR it is part of (if any)

Related