It's all about the answers!

Ask a question

OSLC - Iteration query with project url

Bartosz Chrabski (3.4k12849) | asked May 22 '13, 5:36 a.m.
Hi Team,

I am trying to receive list of all iterations in project for that purpose I am using sample query with and oslc.where.


The result is : 

 <rdf:Description rdf:nodeID="A0">
Unknown attribute id: []
<rdf:type rdf:resource="" />

3 answers

permanent link
Kot T. (1.5k11219) | answered May 22 '13, 6:21 p.m.
I am not sure how to filter project area for iterations. The sample below works for categories


permanent link
guoping chen (191014) | answered Dec 18 '13, 9:48 p.m.
edited Dec 18 '13, 9:49 p.m.
I refer the Kot Tontranakwong's answer.
retrieve the categories -->OK
But retrive the interations -->NG(error). Pls see the below URL. Which is wrong?"_j3EowFXgEeOyQYTHpXYc7Q"

error info
<oslc_cm:error><oslc_cm:status>400</oslc_cm:status><oslc_cm:message>Unknown attribute id: rtc_cm:projectArea</oslc_cm:message></oslc_cm:error>

permanent link
Takehiko Amano (1.3k3741) | answered Dec 18 '13, 11:55 p.m.
For the purpose of obtaining iteration for specific development line. Reporting Rest I/F may helps.[developmentLine/name='RTC V4.0.6 Development']/(id|name|developmentLine/name)

This yields some thing like:

    <developmentLine><name>RTC V4.0.6 Development</name></developmentLine>
    <id>Sprint 2</id>
    <name>Sprint 2</name>

Unfortunately, iteration belongs to development line, so we have to query developmentLine using like:|projectArea/name)

For the brief introduction to reportable RestAPI, refer to this web pages:

Good feature of this reports API is that we can query by name, not uuid of objects.

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.