fledge icon indicating copy to clipboard operation
fledge copied to clipboard

Include reference to issue closed with a PR?

Open krlmlr opened this issue 2 years ago • 3 comments

https://github.com/cynkra/dm/commit/d1ab1fcb5bca29b145375b3c98c20355ab09e248

krlmlr avatar Jul 06 '22 02:07 krlmlr

Currently looking for an API way to find issues linked to a PR as I'd prefer to not re-invent the code GitHub has for finding linked issues (special words etc).

maelle avatar Jul 27 '22 12:07 maelle

yay!

{
  repository(owner: "cynkra", name: "dm") {
    pullRequest(number: 1161) {
      id
      closingIssuesReferences(first: 50) {
        edges {
          node {
            id
            body
            number
            title
          }
        }
      }
    }
  }
}

https://stackoverflow.com/a/72967359/5489251

maelle avatar Jul 27 '22 12:07 maelle

fledge needs to check the scope of the token

maelle avatar Jul 27 '22 12:07 maelle

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

github-actions[bot] avatar Sep 06 '23 00:09 github-actions[bot]