Pull Items in a Group

Hey all,
Im trying to pull a list of Items and Subitems in a Group by either name or ID and I tried without success the following based on the groups and queries documentation for the API

query {
boards (ids: 157244624) {groups (ids: status) {
title
color
items
}
}
}

Any guidance is appreciated!

hi @dean_m

Welcome to the community! The id of a group is a sting and therefore need to be quoted in the groups’ field, like:

{
  boards(ids: 3468602712) {
    groups (ids:"new_group") {
      title
      items {
        id
      }
    }
  }
}

Also: make sure you use the group id and not it’s name. You can’t get hold of the group id though the UI, so you need to query all groups in the board to get to the groups ids.

Thank you for the quick response. Worked great!