Why is externalValue not exposed in the OSLC interface for Enumerations?
I have added custom enumeration attributes to work items.
When querying via OSLC I would expect that the externalValue would be presented, but it is not.
I am on RTC 6.0.6.1
Query:
[[ { "rdf:resource": "https://pm.strongback.us/ccm/oslc/enumerations/_xwX-kORWEemaN_2MCcLgCw/supportGroups/supportGroups.literal.l1", "dc:title": "Production Control US", "rtc_cm:iconUrl": null, "dc:identifier": "supportGroups.literal.l1" }, { "rdf:resource": "https://pm.strongback.us/ccm/oslc/enumerations/_xwX-kORWEemaN_2MCcLgCw/supportGroups/supportGroups.literal.l2", "dc:title": "Development Operations IL", "rtc_cm:iconUrl": null, "dc:identifier": "supportGroups.literal.l2" }, { "rdf:resource": "https://pm.strongback.us/ccm/oslc/enumerations/_xwX-kORWEemaN_2MCcLgCw/supportGroups/supportGroups.literal.l3", "dc:title": "Information Services Group", "rtc_cm:iconUrl": null, "dc:identifier": "supportGroups.literal.l3" }, { "rdf:resource": "https://pm.strongback.us/ccm/oslc/enumerations/_xwX-kORWEemaN_2MCcLgCw/supportGroups/supportGroups.literal.l4", "dc:title": "Unknown", "rtc_cm:iconUrl": null, "dc:identifier": "supportGroups.literal.l4" } ]
I would expect it to return something like this:
[ { "rdf:resource": "https://pm.strongback.us/ccm/oslc/enumerations/_xwX-kORWEemaN_2MCcLgCw/supportGroups/supportGroups.literal.l1", "dc:title": "Production Control US", "externalValue": "Prod_Control_US" "rtc_cm:iconUrl": null, "dc:identifier": "supportGroups.literal.l1" }, { "rdf:resource": "https://pm.strongback.us/ccm/oslc/enumerations/_xwX-kORWEemaN_2MCcLgCw/supportGroups/supportGroups.literal.l2", "dc:title": "Development Operations IL", "externalValue": "DevOps_IL" "rtc_cm:iconUrl": null, "dc:identifier": "supportGroups.literal.l2" }, { "rdf:resource": "https://pm.strongback.us/ccm/oslc/enumerations/_xwX-kORWEemaN_2MCcLgCw/supportGroups/supportGroups.literal.l3", "dc:title": "Information Services Group", "externalValue": "ISG" "rtc_cm:iconUrl": null, "dc:identifier": "supportGroups.literal.l3" }, { "rdf:resource": "https://pm.strongback.us/ccm/oslc/enumerations/_xwX-kORWEemaN_2MCcLgCw/supportGroups/supportGroups.literal.l4", "dc:title": "Unknown", "externalValue": "Unknown" "rtc_cm:iconUrl": null, "dc:identifier": "supportGroups.literal.l4" } ]
Is this a bug? Or am I doing something wrong? Or am I just wrong about what to expect?
Comments
Matthew Hardin
Mar 06 '20, 1:45 a.m.I've tried multiple times to format the message so that it was readable. I keep getting told it was spam. I finally got the last incarnation of it. Total crap. Can't format or edit a question.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 06 '20, 1:49 a.m.That is the unfortunate truth when trying to use the same letters for everything. Displaying XML here is impossible, java generics do not show propertly. You have problems with smaller as and grater than signs.
Matthew Hardin
Mar 09 '20, 3:08 p.m.Well that is a little more readable... ugh
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 10 '20, 2:39 a.m.Yes, better. Sorry for the inconvenience. I hope someone can answer. I don't know.