Unable to extract RTC custom field data which is having slash in custom field id
Hi Team,
We are using CLM 6.0.6 version and we are trying to extract one of the RTC workitem [action item] field data via postman using OSLC API query, https://adtclmemeastg00102.accenture.com/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/150
In the OSLC response we are getting the extract result as below,
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:acc="http://open-services.net/ns/core/acc#"
xmlns:oslc_cmx="http://open-services.net/ns/cm-x#"
xmlns:oslc_pl="http://open-services.net/ns/pl#"
xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/"
xmlns:process="http://jazz.net/ns/process#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rtc_ext="http://jazz.net/xmlns/prod/jazz/rtc/ext/1.0/"
xmlns:acp="http://jazz.net/ns/acp#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:oslc_cm="http://open-services.net/ns/cm#">
<rdf:Description rdf:about="https://abc.accenture.com/ccm/oslc/contexts/_Zs1KAM0kEe2LRs7Bz6g7hw/workitems?oslc.where=%20dcterms:identifier%20=%22150%22%20&oslc.select%20=*">
<dcterms:title>Work Items</dcterms:title>
<oslc:totalCount>1</oslc:totalCount>
<rdf:type rdf:resource="http://open-services.net/ns/core#ResponseInfo"/>
</rdf:Description>
<rdf:Description rdf:about="https://adtclmemeastg00102.accenture.com/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/150">
<oslc_cm:inprogress rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</oslc_cm:inprogress>
<rtc_ext:com.acn.adt.actionitem.attribute.yesno rdf:resource="https://adtclmemeastg00102.accenture.com/ccm/oslc/enumerations/_Zs1KAM0kEe2LRs7Bz6g7hw/Yes/No_Live/Yes/No_Live.literal.l1"/>
</rdf:Description>
</rdf:RDF>
In this result we are getting response for the custom field rtc_ext:com.acn.adt.actionitem.attribute.yesno along with slash in it i.e Yes/No_Live/Yes/No_Live.literal.l1, We would like to get the custom field value by hitting the resource URL, https://adtclmemeastg00102.accenture.com/ccm/oslc/enumerations/_Zs1KAM0kEe2LRs7Bz6g7hw/Yes/No_Live/Yes/No_Live.literal.l1, Since the field is having slash in the field name which is coming along with URL response, we are getting 404 Not Found error while hitting. We have replaced slash with "%2F" as per url encryption standard but still getting the 404 error.
Anyone can kindly help us on this?
|
One answer
David Honey (1.8k●1●7)
| answered Jul 03 '23, 4:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Why not use underscore instead of forward slash?
Comments
Prabakaran Ramakrishnan
commented Jul 03 '23, 5:21 a.m.
Thanks for your response!
Since we already created custom field id with underscore, we can not change it now. If recreate, we are loosing the data. Is there any alternative way to get those data?
Thanks in advance,
Prabakaran
Have you tried specifying an External URI for the attribute?
|
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.