query {
boards (ids: xxxxx) {
items (limit: 10){
id
created_at
name
column_values {
id
value
text
title
}
}
}
}
result:
{
"data": {
"boards": [
{
"items": [
{
"id": "xxx",
"created_at": "2022-01-07T15:28:19Z",
"name": "www.----.nl",
"column_values": [
{
"id": "assessment_mi",
"value": null,
"text": "Maintainance",
"title": "Assessment MI"
},]
So I want to filter the word maintainance in grapQL or in php. So that I can count all the items that have the column value “maintainance” (because their are a lot of other values). Is their a way to filter such specifics. Because this is how I count items in php:
count($responseContent['data']['boards'][0]['groups'][0]['items']);
$totalNumber = count($responseContent['data']['boards'][0]['groups'][0]['items']);