sincecutoff.com
← all changes

github-graphql-api ProjectV2.items filters by archived state

Introduced 2026-06-08 · score 0.93

HOW TO USE IT

When querying a project’s items, pass `archivedStates` to filter by archive status. Use `ARCHIVED` for archived items or `NOT_ARCHIVED` for unarchived items; the default returns only unarchived items.

query { node(id: "<PROJECT_ID>") { ... on ProjectV2 { items(first: 20, archivedStates: [ARCHIVED]) { nodes { id } } } } }

WHY THIS HELPS

Query ProjectV2 items filtered by whether they are archived.

REQUIREMENTS AND LIMITATIONS

  • archivedStates: Filters items by archived state. Defaults to returning only items that are not archived.
  • ARCHIVED: Selects archived project items.
  • NOT_ARCHIVED: Selects project items that are not archived.
  • first: Returns the first n items from the connection.
  • id (required): The project node ID supplied to `node`.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card