It's all about the answers!

Ask a question

RTC RESTful Webservice - How to retrieve Story Points?

Richard Marais (1623) | asked Feb 28 '13, 5:20 a.m.
edited Mar 04 '13, 10:27 a.m.
I am asking the same question as

Is there a way to get access to the story point via the webservice? The above user talks aboy 'complexity', but I cannot seem to find this.

Here is aslo a list of teh customAttributes. Are they maybe here?


Any help will be appreciated.


3 answers

permanent link
Richard Marais (1623) | answered Feb 28 '13, 5:33 a.m.
I have the answer:

see  .../resource/itemName/<ID>

< rdf:resource=""/>

Sarath Shasikumar commented Mar 20 '13, 11:04 a.m. | edited Mar 20 '13, 11:05 a.m.

 Thank you

permanent link
Richard Marais (1623) | answered Mar 04 '13, 9:59 a.m.
We have just upgraded our RTC from version 3  to version 4. The Story Points seem to be no longer accessacle under:

i.e. the element longer existis in teh schema resonse.

Is there any other way to get the Story Points?

Also, the following two elements still exist, but no longer work:
<dc:creator rdf:resource=""/>
<rtc_cm:ownedBy rdf:resource=""/>

permanent link
Alanna Zito (1.3k3) | answered Mar 20 '13, 2:08 p.m.

In the reportable REST API, the story points value can be found under the "extensions" elements (along with the values for any other custom attributes).  There are different extensions elements depending on the type of the custom attribute (e.g., booleanExtensions, intExtensions), and also the "allExtensions" element, which returns the values for all types.  In each case, you can get the value you want by filtering on the key (the ID of the custom attribute).

For example, to get the story points as a string, you could use the URL <server-url>/ccm/rpt/repository/workitem?fields=workitem/workItem[id=7]/allExtensions[]/smallStringValue.

The "customAttributes" element that you mention returns the custom attributes that are available to the work item, but it doesn't have the values.

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.