Unable to fetch the custom attribute prefix tag of artifect type defect
![]()
Rahul Singh Bhadauriya (28●2●17●20)
| asked Mar 10 '14, 6:44 a.m.
edited Mar 10 '14, 9:19 a.m. by Paul Slauenwhite (8.4k●1●2)
RTC Version 4.0.3
I have created custom attribute in the RTC of WorkItem type Defect. I have marked these attributes as a mandatory . I want to create defects in RTC using my java client. Questions: 1. How to fetch the attribute prefix Tag to create the XML change request . i.e
<rtc_ext:Test1 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">10</rtc_ext:Test1>
here, Test1 is a mandatory attribute of type integer added in Workitem type Defect. rtc_ext:Test1 Tag is required to create XML Change Request to create defects in RTC which i am unable to fetch. 2. what about system defined attributes , how to fetch the prefix tags for those? i.e. <rtc_cm:filedAgainst rdf:resource="https://localhost:9443/ccm/resource/itemOid/com.ibm.team.workitem.Category/_BzHUxJiHEeO_g7YLV-uN1A"/> here, I need to fetch the Tag rtc_cm:filedAgainst. I am able to fetch the internal name of the attribute from the resource shape. Thanks Rahul |