How to get the categories of a given Team Area using RTC Plain Java API
Hello All,
|
One answer
One can pull in a list of the categories something like:
Comments
Jazzuser user
commented Oct 09 '17, 3:27 a.m.
Hello Kevin,. Thanks for your reply. This code is to get all the Categories for a given Project Area. But i need to get for the Specified Team Area.
Kevin Ramer
commented Oct 09 '17, 8:23 a.m.
The ICategory class has the method
Jazzuser user
commented Oct 10 '17, 12:24 a.m.
Thanks a lot for your reply Kevin. you are mentioning about getting the Teamareas from the Categories.
Kevin Ramer
commented Oct 10 '17, 2:48 p.m.
Sometimes one has to create new tools from those already at hand.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
By "all categories of a given Team Area", do you mean all categories that are currently mapped to that team area? Note that the mapping can be different for different timelines, so you would need to ask "what categories are mapped to that team area in a specified timeline", or "in any timeline" (depending on what you want to use this information for). You might want to mention how you plan on using this information, in case there is a better way of addressing that use case.
Hello Geoffrey, Thanks for your reply.
We have a single timeline for all the Teams.
To elaborate on the usecase : I need to get the list of all the categories(its UUID) for the TeamAreas having a #notifyemail tag in the description.
So I am successfully able to read the Team's description(with #notifyemail tag). For this Teams I need to get the categories.
Is there any way I can get the categories ?
If by "categories of a team area", you mean the categories currently mapped to that team area, see Kevin's answer.