Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to get team area Iqueryattribute?

 I want to run a query programmatically which will return be  list of workitems for a given team area. But I am not able to find the Team Area property id like for project area we have IWorkitem.Project_Area_Property


IQueryableAttributeFactory factory = QueryableAttributes.getFactory(IWorkItem.ITEM_TYPE);
IQueryableAttribute queryableProjectArea = factory.findAttribute(conn.getProjectArea(), IWorkItem.PROJECT_AREA_PROPERTY, queryCommon.getAuditableCommon(), null);


Same way I need query IQueryableAttribute for team area.
Thanks & Regards,
Aastha

0 votes


Accepted answer

Permanent link

 Such an attribute does not exist. The relationship to a team area is created through the IWorkItem.CATEGORY_PROPERTY

aastha khatri selected this answer as the correct answer

0 votes

Comments

 So then I need to club all categories in a team area and group the workitems.

Thanks Ralph.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Feb 27 '17, 1:12 a.m.

Question was seen: 1,505 times

Last updated: Feb 27 '17, 4:44 a.m.

Confirmation Cancel Confirm