Query extension field with & character via OSLC
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&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&c
https://localhost:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/123?oslc.select=rtc_ext:com.mysite.widget.ab%26c
Thanks,
Drew