It's all about the answers!

Ask a question

List of Work Items after certain modified date


Reverse Reverse (346) | asked Oct 10 '19, 12:25 p.m.

 What expression can we use to get that..


IAuditableCommon auditableCommon = (IAuditableCommon) teamRepository.getClientLibrary(IAuditableCommon.class);
IQueryableAttribute attribute = QueryableAttributes.getFactory(IWorkItem.ITEM_TYPE).findAttribute(projectArea, IWorkItem.PROJECT_AREA_PROPERTY, auditableCommon, monitor);
IQueryableAttribute type = QueryableAttributes.getFactory(IWorkItem.ITEM_TYPE).findAttribute(projectArea, "custom.attribute.applicationNumber", auditableCommon, monitor);

Expression inProjectArea = new AttributeExpression(attribute, AttributeOperation.EQUALS, projectArea);
Expression isType = new AttributeExpression(type, AttributeOperation.EQUALS, att);
Term typeinProjectArea = new Term(Term.Operator.AND);
typeinProjectArea.add(inProjectArea);
typeinProjectArea.add(isType);

One answer



permanent link
Reverse Reverse (346) | answered Oct 10 '19, 10:39 p.m.
Answer=  IQueryableAttribute type = QueryableAttributes.getFactory(IWorkItem.ITEM_TYPE).findAttribute(projectArea, IWorkItem.MODIFIED_PROPERTY, auditableCommon, monitor);



Your answer


Register or 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.