Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get all items from given type, RTC 6.0.1M1?

Hi, I created a workItem type named "custom" and I want to find all artifacts from from that workItem. So I do GET request using POSTman tool:


https://10.0.2.79:9443/ccm/oslc/contexts/_tsVvMWWwEeWQIIEAtKgWEg/workitems?oslc.where=rtc_cm:type="custom"&oslc.prefix=rtc_cm=<http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0>

But get the error:
<rdf:RDF
   
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   
    xmlns:oslc="http://open-services.net/ns/core#" >
    <rdf:Description rdf:nodeID="A0">
        <oslc:message>Unknown attribute id: [http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0type]</oslc:message>
        <oslc:statusCode>400</oslc:statusCode>
        <rdf:type rdf:resource="http://open-services.net/ns/core#Error"/>
    </rdf:Description>
</rdf:RDF>

Where is my wrong ? How to fix that?

0 votes



One answer

Permanent link
You should use "dcterms:type" if you want to use the name of the work item type. The value of "rtc_cm:type" is the type URI.

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937
× 516

Question asked: Oct 02 '15, 6:01 a.m.

Question was seen: 3,258 times

Last updated: Oct 12 '15, 2:39 a.m.

Confirmation Cancel Confirm