how to list the attributes of various enumerations like severity, priority in rtc through rest query
BHUSHAN PUNJABI (1●1●1)
| asked Feb 03 '14, 12:59 a.m.
edited Feb 23 '14, 8:00 a.m. by Sreerupa Sen (1.0k●4)
I want to list down attributes of fields like severity, priority, etc through rest query. How do i achieve my goal?
|
One answer
You can use the discovery chain method to figure it out.
http://www.ibm.com/developerworks/rational/library/10/programmatic-authentication-and-certificate-handling-for-rational-team-concert-2-0/ In this document, it shows you how to get the work item services. From the output, locate the work item type that you are interested in, say, defect. <oslc:creationFactory> Follow the link of the resourceShape, and in this output you will see the enumerations for an attribute, such as <rdf:Description rdf:about="https://clm404.sydney.rcs:9443/ccm/oslc/context/_U-8CoCGlEeOpzLt8rZoBTA/shapes/workitems/defect/property/internalSeverity/allowedValues"> You can get the literal of the allowed values by following their respective links. |
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.