how can i get subcategories from a selected category attribute in filed against using java api
how to fetch subcategories from a selected category attribute in filed against using java api |
One answer
Provided that you know the process (i.e. either project or team) area associated to the category, you could use the method findCategoriesOfProcessArea of the plain Java API.
According to the plain Java API reference, it "finds all categories which are associated with the given process area. Sub-categories which have no explicit team area association inherit the team area from their parent and are therefore included as well."
Comments
Nikhil Raut
commented Mar 13 '23, 6:23 a.m.
I want to fetch all sub categories which are there in a Parent category.
for example:
Parent Category
-> child category 1
-> child category 2
As a category is associated to a process area, if you know the process area of a category and you retrieve all categories of that area, you have all children categories of the parent category. |
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.