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

How can not get Artifact in project with QUERY with DNG OSLC. Acquire Artifact for all projects?

I am trying to search for deliverables subject to the ID of DNG.
When you run the following OSLC, all product URIs are answered.
It becomes URI of all deliverables of the server regardless of the project area.
Please teach the correct way.

Header
"Accept: application/rdf+xml"
"OSLC-Core-Version: 2.0"

Condition
oslc.select=dcterms:title
oslc.where=dcterms:identifier=99799

HTTPREQUEST GET
"https://jazz.car.rm.com/rm2/views?oslc.query=true&amp;projectURL=https://jazz.car.rm.com/rm2/process/project-areas/_i252seB0EeeLL6zZ6A8T4Q&amp;vvc.configuration=https://jazz.car.rm.com/rm2/cm/stream/_i8YMkOB0EeeLL6zZ6A8T4Q?oslc.where=dcterms:identifier=99799&oslc.prefix=dcterms=<http://purl.org/dc/terms/>&oslc.select=dcterms:title"

*Of course, characters are encoded.

2018/08/28 Update
Webclient tool (Firefox add-on) is cleared
It was a misspelling for the above URI・・・

But Curl from windows : BadRequest 400 Error

-b COOKIES -o att_query.xml -k -H "Accept: application/rdf+xml" -H "OSLC-Core-Version: 2.0"
"https://jazz.car.rm.com/rm2/views?oslc.query=true&amp;projectURL=https://jazz.car.rm.com/rm2/process/project-areas/_i252seB0EeeLL6zZ6A8T4Q&amp;vvc.configuration=https://jazz.car.rm.com/rm2/cm/stream/_i8YMkOB0EeeLL6zZ6A8T4Q?oslc.where=dcterms:identifier=99799&oslc.prefix=dcterms=<http://purl.org/dc/terms/>&oslc.select=dcterms:title"

Please help

1 vote



2 answers

Permanent link

Hello sir,

Can we understand that your intent is to know which project area does the deliverable(artifact) belong to?
With your GET request, all you get is the title of the artifact with ID 99799. If you can, please elaborate your expectation or goal.

Please also consider adding more tags such as oslc-rm and oslc-dng to this question?
Kind regards,

0 votes

Comments

It is not intended to get all the artifacts in the project area.
However, I wanted to control so that no deliverables from other projects were acquired.

Since it worked on Webclient, I would like to be able to implement it with Curl and VBA.


Permanent link

It is our aim.
Use the API to create artifacts.
Using the ID of the created artifact, obtain the name of each deliverable and each attribute value.
During the second and subsequent updates, search the UUID using the ID and overwrite the information.
I am about to make EXCEL VBA to do the above.

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,952

Question asked: Aug 27 '18, 2:47 a.m.

Question was seen: 2,631 times

Last updated: Aug 29 '18, 2:02 a.m.

Confirmation Cancel Confirm