Is it possible to search for issues across all repositories? For example on the global “Issue Distribution” report it shows x number of Sql issues. However I am unable to find which repos these issues belong to.
Hey @shawn – You can use the API to get the list of repositories [1] and fetch the issues in the default branch of the repository [2] along with it’s category, shortcode, severity [3].
Thanks jai, however I have generated a PAT for both the owner and my own account. I am able to run the following:
query {
viewer {
id
firstName
lastName
email
}
}
and this returns the correct value, however when running :
query {
account(login: “XXXXXX”, vcsProvider: GITHUB) {
login
id
type
vcsProvider
vcsUrl
avatarUrl
}
}
with either user and either PAT I always get a response of:
After running some other queries, I did find the problem. The login is not the user login but the team name. Also we are using DevOps so the vcsProvider is ADS.