How to request issues for a single repository (of an organization)


#1

How can I get the open issues for a specific repository? Here’s what I’ve come up with so far (but I know is incorrect).

{
  organization(id:"github") {
    login
    starredRepositories {
      totalCount
    }
    repositories(id:"gh-ost") {
      issues(states:[OPEN]) {
          edges {
            node {
              number,
              title
            }
          }
      }
    }
  }
}

#2

Figured it out. Leaving here in case it helps anyone else.

{
  repositoryOwner(login:"github") {
    repository(name:"gh-ost") {
      issues(states:[OPEN], first: 30) {
          edges {
            node {
              number,
              title
            }
          }
      }
    }
  }
}

#3