Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Closed issue appeared despite the state:open filter

I try to use the GraphQL API to get issues that are currently open.

 

However, it seems that it also outputs one closed issues.

 

Here is the screenshot:

Screen Shot 2019-11-09 at 3.35.19 PM.png

Here are my query:

 

query githubInfo($searchQuery: String!, $type: SearchType!) {
  search(first: 100, type: $type, query: $searchQuery) {
    nodes {
      ... on Issue {
        title
        state
      }
    }
  }
}

The query variables:

 

 

{
  "searchQuery": 
  "repo:taskcluster/taskcluster label:\"good first issue\" state:open",
	"type": "ISSUE"
}

 

 

 

Thanks in advance! Any pointers on where it gets wrong would be appreciated!

1 Reply
Community Manager
Message 2 of 2

Re: Closed issue appeared despite the state:open filter

Hi @fiennyangeln,

 

Thank you for being here and our apologies for the delayed response. Your query is good, the issues is on us sometimes we have a slight database glitch that causes some issues to misbehave like this. 


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!