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

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...


0 votes


Accepted answer

Permanent link
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

1 vote


4 other answers

Permanent link
Don't know if this helps:

1 vote


Permanent link

 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.

0 votes


Permanent link
 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,mcdvoice 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.

Many thanks for that complete information!

0 votes

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?


Permanent link

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.

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
× 516
× 139
× 24

Question asked: Feb 18 '19, 3:54 a.m.

Question was seen: 4,314 times

Last updated: Oct 26 '22, 8:53 a.m.

Confirmation Cancel Confirm