Queries in RTC
Hello All,
I am trying to write a query which fetches work items from a project area based on the filtering of Summary filed. For E.g. say I enter the value in a text field as "hello" then all the work items in a particular project area whose summary contains "hello" should be fetched. I am a little new to this. I tried few things. How do I create a proper expression for that ? Expression newExpr = new VariableAttributeExpression(attribute, AttributeOperation.CONTAINS, What to pass here); For the above expression how do I pass my Summary String ? Thanks for any help :) Regards, Arshad |
Accepted answer
Expression newExpr = new VariableAttributeExpression(attribute, AttributeOperation.CONTAINS, "string"); Arshad Adavani selected this answer as the correct answer
Comments
Arshad Adavani
commented Mar 24 '16, 7:55 a.m.
Hi Sam,
right ,"string" meant whatever string of text you were searching for
Arshad Adavani
commented Mar 24 '16, 8:13 a.m.
Hi Sam,
sam detweiler
commented Mar 24 '16, 8:17 a.m.
you have to add another expression to the expression,
|
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.