It's all about the answers!

Ask a question

Get work items attribute description in RTC 3


ronen r (2152) | asked Nov 02 '10, 7:14 a.m.
Hi
I was upgrade to RTC 3. In my application I was need to get a workItem attribute qName for changing the value of a workItem attribute by REST API.
My operation in doing:
1. Get the attribute description xml: https:\\myRTCServer:9443/ccm/oslc/attributes/workitem.xml
2. serch for the attribute title and return the rtc_cm:qName value.

It work fine in RTC 2 but in RTC 3 the values of all the tags rtc_cm:qName in the file are empty.

How can I get the qName in RTC 3?

One answer



permanent link
Patrick Streule (4.9k21) | answered Nov 08 '10, 6:38 a.m.
JAZZ DEVELOPER
On 11/2/10 12:23 PM, rronen178 wrote:
Hi
I upgrade to RTC 3 and in my application I was need to get a workItem
attribute qName for changing the value of a workItem attribute by
REST API.
My operation in doing:
1. Get the attribute description xml:
https:\\myRTCServer:9443/ccm/oslc/attributes/workitem.xml
2. serch for the attribute title and return the rtc_cm:qName value.

It work fine in RTC 2 but in RTC 3 the values of all the tags
rtc_cm:qName in the file are empty.

How can I get the qName in RTC 3?

This attributes API was never officially supported and we removed the
qName value as we did not want to make the qName itself so prominent.
The right way to deal with the XML elements is to use the namespace URI
and the local name (not the qName).

--
Regards,
Patrick
RTC Work Item Component Lead

Your answer


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