Query all artifacts from a folder in DNG module
hello,
I need help in querying artifacts from a folder in DNG module, the folder can have child folders but the query has to fetch all the artifacts including the one's from the child folders.
Thanks in advance...
|
Accepted answer
Ian Barnard (2.3k●7●14)
| answered Mar 18 '21, 3:11 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Sep 21 '21, 3:38 a.m.
You can use OSLC Query to find all artifacts in a folder using a query like oslc.where=nav:parent=<folder_uri>
See this article https://jazz.net/library/article/1197 there's an example of a query by text "To query requirements in a specific folder use a query similar to:"
Don't forget you need to encode the query parameters.
Ralph Schoon selected this answer as the correct answer
|
4 other answers
Don't know if this helps:
|
Hi Raj,
I am looking for DNG OSLC API to fetch artifacts under specific folder. By any chance do you have any idea on this API.
|
You can use OSLC Query to find all artifacts in a folder using a query like oslc.where=nav:parent=<folder_uri>
Comments Thank you, but rather than posting an answer which is really a comment, why don't you comment on my answer, and perhaps upvote it? |
Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution. |
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.