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

use GraphQL to query GitHub repository for bug and issue count #41

Closed
gernotstarke opened this issue Nov 15, 2023 · 2 comments
Closed
Assignees
Labels
architecture structure or technology problem, e.g. bad modularization enhancement New feature or request

Comments

@gernotstarke
Copy link
Member

gernotstarke commented Nov 15, 2023

DRAFT - incomplete!!

query {
repository(owner: "arc42", name: "faq.arc42.org-site") {
openIssues: issues(states: OPEN, labels: ["BUG"]) {
totalCount
}
}
}

@gernotstarke gernotstarke added the enhancement New feature or request label Nov 15, 2023
@gernotstarke gernotstarke self-assigned this Nov 15, 2023
@gernotstarke
Copy link
Member Author

query {
repository(owner: "arc42", name: "faq.arc42.org-site") {
bugs: issues(states: OPEN, labels: ["BUG"]) {
totalCount
}
issues( states: OPEN) {
totalCount
}
}
}

@gernotstarke
Copy link
Member Author

will use https://github.com/shurcooL/githubv4

@gernotstarke gernotstarke added the architecture structure or technology problem, e.g. bad modularization label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture structure or technology problem, e.g. bad modularization enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant