Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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"?>
         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#"> 
      <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: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?

0 votes



One answer

Permanent link

Why not use underscore instead of forward slash?
The property id is being used to form a URL so probably shouldn't contain a forward slash.

0 votes

Comments
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

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,935
× 7,494
× 1,700
× 1,324
× 457
× 1

Question asked: Jun 30 '23, 12:54 p.m.

Question was seen: 1,893 times

Last updated: Jul 03 '23, 11:33 a.m.

Related questions
Confirmation Cancel Confirm