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

List of Work Items after certain modified date

 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);

0 votes



One answer

Permanent link
Answer=  IQueryableAttribute type = QueryableAttributes.getFactory(IWorkItem.ITEM_TYPE).findAttribute(projectArea, IWorkItem.MODIFIED_PROPERTY, auditableCommon, monitor);



0 votes

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,938

Question asked: Oct 10 '19, 12:25 p.m.

Question was seen: 1,078 times

Last updated: Oct 10 '19, 10:39 p.m.

Confirmation Cancel Confirm