Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

"uses" object not being returned from /boards/{id}/labels

Alex McMenemy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 9, 2018

Hi,

Is anyone else having a problem getting the uses object from Labels returned when using the API?

I am querying the API for all fields but the uses value is now missing.

https://developers.trello.com/reference/#labels

Thanks

Alex

1 answer

1 accepted

0 votes
Answer accepted
Oscar Triscon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2018

Hi Alex,

Trello recently removed the uses field from the labels object. The explanation was that is was not always kept up to date and thus could be misleading. Instead, you'll need to retrieve all the cards on the board and count the label usage.

Here's the update in the Trello Platform changelog: https://trello.com/c/qlIE6fkg/8-remove-labels-resource-uses-field

Alex McMenemy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 9, 2018

Hi,

Thanks very much for the info.

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events