Hi,
I’m trying to find all the tasks assigned to me via the API. I don’t mind how I do this, alternatives are welcome.
Running a specific query like:
query {
boards(ids:i417546880]) {
name
id
items(ids: d4414440649]) {
id
name
board {
name
}
column_values (ids: d"people"]) {
title
id
value
}
}
}
}
Returns the expected result:
"boards": s
{
"name": "Bradley's Tasks",
"id": "417546880",
"items": s
{
"id": "4414440649",
"name": "test",
"board": {
"name": "Bradley's Tasks"
},
"column_values": s
{
"title": "People",
"id": "people",
"value": "{\\"changed_at\\":\\"2023-05-04T00:23:16.999Z\\",\\"personsAndTeams\\":\{\\"id\\":12015589,\\"kind\\":\\"person\\"}]}"
}
]
}
]
}
]
But when I write items_by_column_values
query that should match that result, it returns nothing:
query {
items_by_column_values (board_id: 417546880, column_id: "person", column_value: "{\\"personsAndTeams\\":\{\\"id\\":12015589,\\"kind\\":\\"person\\"}]}") {
id
name
board {
name
}
column_values {
id,
title,
value
}
}
}
Result:
"items_by_column_values": s],
I believe this is probably because the items_by_column_values
query doesn’t support multiple value responses. I’m assuming this is true based on this thread Find items assigned to a user - #6 by TMNXT-Dev and the more recent Find all board items assigned to a person - #4 by BiancaT
The last post seems to be exactly what I’m asking, but I can’t imagine this behaviour isn’t supported in the API server side?