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