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

How to Query WorkItem using AttributeOperation.CONTAINS with IWorkItem.ID_PROPERTY?

Hi,
   
i am using the following query to fetch the work item. But it always returns empty result set. when i replacing CONSTAINS with EQUALS it return's exact result.

IQueryableAttribute wiidattribute = factory.findAttribute(projectArea, IWorkItem.ID_PROPERTY, auditableClient, null);

Expression wiidexpression = new AttributeExpression(wiidattribute, AttributeOperation.CONTAINS, id);

Let me know , is it possible to query the work items with ID property having CONTAINS in condition.

Thanks ,

Pugazh S

0 votes


Be the first one to answer this question!

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,930
× 411

Question asked: Feb 27 '13, 3:44 a.m.

Question was seen: 4,312 times

Last updated: Feb 27 '13, 3:44 a.m.

Confirmation Cancel Confirm