It's all about the answers!

Ask a question

Get "Planned for"'s (iteration) itemid be used OSLC query key "iterationLabel"

HIROAKI JOSAKO (47427) | asked Jan 19 '16, 11:37 p.m.
目的は ワークアイテムを検索するときに反復名をキーにして行うこと。


In English
Purpose to key "iteration name" when query "workitems"


I can not find the following ID from iteration name (label).

I think a good way?

Accepted answer

permanent link
Donald Nong (14.5k414) | answered Jan 27 '16, 12:50 a.m.
I assume you know how to get the project service provider URL since you have gone this far.
1. Access the project area service provider URL, such as
2. In the response content, look for the "resourceShape" of the work item type that you're interested, for example:
    < oslc:resourceShape rdf:resource="https://clm:9443/ccm/oslc/context/_tNGM8IPsEeSNXIoymcU8qg/shapes/workitems/defect" / >
3. Access the resource shape URL as shown above.
4. In the response content, simply search "iterations", and you should find something like this:
     < rdf:Description rdf:about="https://clm:9443/ccm/oslc/context/_tNGM8IPsEeSNXIoymcU8qg/shapes/workitems/defect/property/target/allowedValues">
        < rdf:type rdf:resource="" / >
        < oslc:allowedValue rdf:resource="https://clm:9443/ccm/oslc/iterations/_tWgnoIPsEeSNXIoymcU8qg" / >
        < oslc:allowedValue rdf:resource="https://clm:9443/ccm/oslc/iterations/_tWgAk4PsEeSNXIoymcU8qg" / >
        < oslc:allowedValue rdf:resource="https://clm:9443/ccm/oslc/iterations/_tWgAkoPsEeSNXIoymcU8qg" / >
        < oslc:allowedValue rdf:resource="https://clm:9443/ccm/oslc/iterations/_tWgnoYPsEeSNXIoymcU8qg" / >
        < oslc:allowedValue rdf:resource="https://clm:9443/ccm/oslc/iterations/_tWgAkYPsEeSNXIoymcU8qg" / >
     < /rdf:Description>
HIROAKI JOSAKO selected this answer as the correct answer

2 other answers

permanent link
HIROAKI JOSAKO (47427) | answered Jan 31 '16, 8:01 p.m.
Hi Donald
Thank you for the info


In this way, not know the name of the iteration, we can not identify the itemid of iterations you want to specify.

I was self resolved.
The "DTO2" of the API for WebUI accessed by Get, we were able to get a list of the Timeline.

We can get. "Name", "identifier", "itemid", search the specified string from the XML acquired. It was realized that the particular result itemid.

Donald Nong commented Jan 31 '16, 10:02 p.m.

You're using an internal API, and have to reply on it being stable across releases. If you would like to stick with OSLC, you can still get the name of the iteration if you access to resource URL of each iteration.

permanent link
HIROAKI JOSAKO (47427) | answered Feb 16 '16, 7:18 p.m.
Indeed, is not the OSLC.
Versatility is not enough.
However, that number of steps to information acquisition increases is not willing.
While the RTC of the API specification does not change, we will use the InternalAPI.


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.