Skip to content

How to query issues that match a text in their title #24428

Discussion options

You must be logged in to vote

The search connection query parameter uses the same syntax as the search box on github.com. Therefore this should work for you:

{
  search(query: "repo:lee-dohm/test-repo in:title test", type: ISSUE, first: 100) {
    nodes {
      ... on Issue {
        number
        title
        body
      }
    }
  }
}

I hope that helps!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rafecolton
Comment options

Answer selected
Comment options

You must be logged in to vote
1 reply
@DeepikaRani-Hub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants