It's all about the answers!

Ask a question

Query extension field with & character via OSLC


Drew Connelly (611) | asked Nov 26 '12, 11:30 a.m.
 A user has added an extension field named AB&C in our environment. The field shows up in the process definition like this:
<attributeDefinition id="com.mysite.widget.ab&amp;c" name="ABC" type="boolean"/>

When I use OSLC 2.0 to query workitems that have this value set, this attribute does not seem to get returned.  All other extension fields do get returned, so I am assuming that the problem is related to the special & character.  Is there a certain syntax that I need to use in my queries to get this value to return?  So far I have tried the following queries with no success:

https://localhost:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/123
https://localhost:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/123?oslc.select=rtc_ext:com.mysite.widget.ab&amp;c
https://localhost:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/123?oslc.select=rtc_ext:com.mysite.widget.ab%26c

Thanks,
Drew

Be the first one to answer this question!


Register or 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.