Skip to main content

Adding groups to the query

  • December 7, 2021
  • 1 reply
  • 1074 views

Following the Qickstart tutorial I learned to create the following query
“query2 = ‘query($myBoardID: Int!) {boards (ids: [$myBoardID]) { name id description items { name column_values{title id type text } } } }’”
But it doesn’t list the groups in the board, dividing the information per group
How can I achieve that?

1 reply

dipro
Forum|alt.badge.img
  • Leader
  • December 27, 2021

Try this:

query {
  boards (limit:1) {
    groups {
      id
      title
      items {
        id
        name
      }
    }
  }
}