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

Fetching requirement artifacts using Oslc

Hello,

 I am trying to fetch the list of artifacts in a particular folder of a project area in DNG. I am able to get the sub folder url in oslc, but how can I query the artifacts in that sub folder.

Thanks,
Sud

0 votes


Accepted answer

Permanent link
It has been asked multiple times. Simply put, use the <nav:parent> attribute.
https://jazz.net/forum/questions/129196/how-can-i-list-the-requirements-within-a-folder-in-doors-next-generation
https://jazz.net/forum/questions/205880/dng-60-retrieving-requirements-from-a-folder-in-dng-using-oslc
https://jazz.net/forum/questions/206804/dng-60-how-to-fetch-requirements-from-a-folder-using-oslc
Sudipto Sarkar selected this answer as the correct answer

0 votes


One other answer

Permanent link
 I am able to fetch the artifacts now from the project area, but not from a particular folder...
I tried to follow the above answers, but none of them is giving the exact solution. Just curious to know if there is  direct url from the response page..

Sud

0 votes

Comments

I don't think there is a "direct" URL. The logic is, a folder does not contain the artifacts, but the artifacts belong to a folder. In technical terms, a folder does not have attributes related to the artifacts, but the artifacts have an attribute (<nav:parent>) pointing to the containing folder. So you have to do a query on the artifacts.

Thanks Donanld. I am able to follow now. The query has to be derived to fetch the artifacts belonging to a particular folder.

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

Question asked: Oct 21 '15, 10:30 a.m.

Question was seen: 2,826 times

Last updated: Nov 04 '15, 4:31 a.m.

Confirmation Cancel Confirm