3

I've been playing with Projects Beta using GitHub's GQL API but can't find a way to filter / search / query them.

For instance, I'd to get all issues in a project for which a field has a specific value.

How do I do so? Is it possible?

None of those objects as a filter attribute. I've also looked at the search query but that doesn't seem to support Projects or Fields as query parmeters.

Thanks in advance!

teocomi
  • 874
  • 1
  • 11
  • 21

1 Answers1

2

I asked about this in the Projects Beta Feedback Discussion.

It seems that filtering hasn't been implemented (yet) and so it's necessary to do things the old fashioned way (like with the REST API) by using queries to get all the issues, then filtering after.

In many ways this is worse than things were with the REST API, as there's no way to get just the issues in a given column, you have to get every issue on the board, which quickly then gets you into needing pagination.

At least GraphQL queries are specifying which nodes/fields you want back, so you're not having to filter through all of everything, just some of everything.

Chris Swan
  • 351
  • 1
  • 3
  • 8