GET /teams/team-id to return description


#1

I am wondering how I can get the description of a team via the GET /teams/team-id call? we are hoping to use the description for things in our integration. Is it possible?


#2

Same here. Oddly, I just ran into this an hour ago expecting description and html_description as properties but neither were there (next to id and name).

Thanks,

Larry


#3

Yeah, I just tested it and to my surprise, also could not get description. However, I am able to get html_description using:

GET /teams/[teamID]?opt_fields=html_description


#4

good catch! yeah, that works for me, just need to strip the HTML tags out.


#5

This is a surprisingly old bug that you’ve caught! A while back, we migrated our backend to address some performance issues and manually ported over all the different fields of all the different resources. Despite us checking behavior against the old API to confirm correctness, it seems we missed this field entirely. We’ve fixed this and you’ll be able to access the plain description field after it gets deployed, likely tomorrow.