Hi devs,
is there a way to retrieve the item terminology thru API?
Thanks.
This is 100% possible! You are looking for the column type! Your query would look something like this:
query = 'query ($boardID:Int!) {boards(ids:[$boardID]){items{column_values{type}}}}'
vars = {
'boardID': boardID
}
Here is the documentation for what you’re trying:
Sorry about that! Misunderstood what you were asking!
It doesn’t look like the item terminology is exposed by the API, hopefully someone else has a better answer.
Hello @rob!
As of today, there is no way of retrieving the terminology via API.
I will add this as a feature request!
Cheers,
Matias
@rob @NeelPi,
Glad to announce this is now available.
You can use our boards API, and in addition to the already existing fields, you can now retrieve a field called item_terminology
, like this:
query {
boards {
id
name
item_terminology
}
}
This would retrieve the term used for items, on each of the queried boards:
{
"data": {
"boards": [
{
"id": "123",
"name": "A",
"item_terminology": "project"
},
{
"id": "456",
"name": "B",
"item_terminology": "item"
},
{
"id": "789",
"name": "My first board",
"item_terminology": "task"
}
]
},
"account_id": 123
}
Have fun with it, and let me know of any further questions!