Query for all items and subitems in a board

I need a graphQL query to pull all items and subitems for all columns in a specific group id “topics” In a specific board

Try this:

query getItemsAndSubItems($boardIds: [ID!]!, $groupIds: [String!]!) {
  boards(ids: $boardIds) {
    groups(ids: $groupIds) {
      items_page {
        items {
          id
          name
          subitems {
            id
            name
          }
        }
      }
    }
  }
}

Add the variables as required:

{
  "boardIds": [1234],
  "groupIds": ["topics"]
}

In the API playground, it will look like this:

Try there first.