I am trying to search item by tag.
This is one of my item.
{
“id”: “157492935”,
“name”: “Vivek Wadhwa - Future of Healthcare: When We Become the Data and the Doctors Are the Software”,
“column_values”: [
{
“id”: “tags”,
“value”: “{“tag_ids”:[880193,880196,880201,880206]}”
}
]
}
How can I try to get this item by searching on tag?
I am trying
query {
items_by_column_values (column_id: “tags”, column_value: “[880206]”, board_id: 135008669) {
id,
name,
column_values {
id,
text,
value
}
}
}
Not actually. I was not able to solve the issue. I don’t think there’s a capability of searching by complex objects like tags(tag_ids: [xxx, yyy]) and status(id: 0}.
Note that if the board is different the tag id might be different though the tag text might be same.
I understand why it could be complex to search by tag ids especially because as you said there could be more tags with same name and different id.
But in my example i was searching by text of the colum_value of my item. Infact in my example “310983” is the text of the column value and the name of the tag and not the id of the tag (that is 886260). I see that every column_value of an item has both a value property and a text property and it’s possible to search on other complex fields (for example field of type color) by the text value.
But for tags it doesn’t work.
Furthermore tags has been created by Monday to make easier search in all boards (From Help: “Using the Tags column will help you to group items from different groups or different boards throughout your account by a consistent keyword!”)
So i think it should exists another method “Items By Tags” that should perform a query on all boards (or on some boards selected by ids argument) by tag name.
During my experience i saw that Monday is very dynamic and i hope a day it could exist
Thanks for posting on the commnunity. We love seeing users helping one another like this!
You both hit the nail on the head – at the moment items_by_column_values does not support searching by tag ID. However, we’ve opened it as a request to our development team, so do look out for an improvement here