Programmatically Query in RTC for Multiple ID Attributes
Hello Team,
I want to build query in RTC like how i create in Web,
for example i have 3 workitems which i want to query, i give in web id is 1000,1002,1003 like this.
Could you please suggest how can i get above behaviour programatically,
Below is code,
QueryableAttribute idAttribute = QueryableAttributes.getFactory(IWorkItem.ITEM_TYPE).findAttribute(projectArea,
IWorkItem.ID_PROPERTY, auditableCommon, monitor);
// Creating an Expression
String data = "1000,1001";
Expression idExpression = new AttributeExpression(idAttribute, AttributeOperation.EQUALS, data);
Thanks
2 answers
I don't see this as a capability in the Query UI, so I don't see how it should be done with an expression. If you refer to full text search, you would have to use it in the expression.
Comments
vinitha dsouza
Oct 16 '17, 7:22 a.m.