It's all about the answers!

Ask a question

query on custom field Large string type

Roger Layani (5313238) | asked Apr 01 '13, 2:25 a.m.
I would like to query work items and add condition on custom field of type Large string
But there is no possibility to ask "contains" for this field
someone knows how to do this?

2 answers

permanent link
Lauren Hayward Schaefer (3.3k11527) | answered Apr 01 '13, 7:01 a.m.
Hi Roger,
Are you not able to see the custom field to add it to your query or are you not able to query on it in the way you would like?  If you can't see the field in the Add Conditions dialog in the Eclipse client, you can check the Show custom checkbox and your custom attributes will be displayed.

Roger Layani commented Apr 02 '13, 7:18 a.m.

I was able to see the custom field in Eclipse interface ( why not in Web too??)
but there is no way to use it efficiently in the query
The field has only "exists" option and cannot be query-able
I this case I get same result with/without the field "exists" in condition.

Lauren Hayward Schaefer commented Apr 02 '13, 2:41 p.m.

permanent link
sam detweiler (12.5k6194201) | answered Apr 01 '13, 7:53 a.m.
the Large String/HTML types are not available for normal query operations (equals, contains). only for the full text search operations.

Roger Layani commented Apr 02 '13, 7:23 a.m.

How the full text search operation can impact a query containing a Large string custom attribute ?? this field seems to be unusable in query.
and in this RTC lost all the field customization interest: you add a new custom field to be able to query on it in future!

Your answer

Register or to post your answer.