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 |
Accepted answer
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
|
One other answer
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
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.
Sudipto Sarkar
commented Nov 04 '15, 4:31 a.m.
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
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.