Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHubFindIssueIdByNumber #15

Merged

Commits on Jan 8, 2020

  1. Given a repository $repoOwner/$repoName, find the id of an issue …

    …by its `$number`.
    
    Usually users think of "issue OneGraph#10", but most GitHub GraphQL mutations refer to issues by their id, so you'll find this query quite helpful! For example, you'll need the issue id if you want to [Delete a GitHub issue](GitHubDeleteIssue).
    
    
    To find the id of issue OneGraph#3 on the [OneGraph GraphQL Docs Repository](OneGraph#1), we could pass in the following variables:
      
      ```javascript
      {
        "repoName": "graphql-docs",
        "repoOwner": "OneGraph",
        "number": 3
      }
      ```
    sgrove committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    02f7ba6 View commit details
    Browse the repository at this point in the history