It's all about the answers!

Ask a question

Get all requirement from Jazz server


Deepak Kumar (111) | asked Jul 07 '15, 10:20 a.m.
edited Jul 08 '15, 12:18 a.m. by Donald Nong (14.3k213)
 I am trying to get requirement fields from RTC server using OSLC . 
 
URL  = queryCapabilityUrl + "&oslc.prefix=dcterms%3D%3Chttp://purl.org/dc/terms/%3E,rdf%3D%3Chttp://www.w3.org/1999/02/22-rdf-syntax-ns%23%3E,oslc_rm%3D%3Chttp://open-services.net/ns/rm%23%3E&oslc.select=*";

I am getting only these values:
CREATED
MODIFIED
TITLE
PRIMARY_TEXT
CONTRIBUTOR
CREATOR
IDENTIFIER

Can we get more data from the server(more fields)?

One answer



permanent link
Donald Nong (14.3k213) | answered Jul 08 '15, 12:23 a.m.
What "more data" do you expect to see? Do you see only the properties restricted to the two namespaces that you specify in the OSLC URL?
Try removing the "oslc.prefix" parameter from the OSLC URL (effectively only append "&oslc.select=*" to the base query URL), and you should see _all_ the artifacts with _all_ the attributes.

P.S. I re-tagged your post as apparently you're using RDNG, not RTC.

Your answer


Register or to post your answer.