DOORS - Folder search with using API
Hi everyone,
I am able to create an artifact & folder etc. But I have more than 2000 folders. Before creating an artifact I only know folder name. While creating an artifact I have to know folder URL.
Is there any documentation, any advice that how can I retrieve folder URL (ex:https://jazz:9443/rm/folders/_XqQ3Yf7fEeSTwNmIfiTrTw) by folder name? Otherwise I have to keep each folder url to somewhere(like db) to retrieve folder url.
My folder structure like this:
-a
--b
----c
----d
-x
--y
----c
----d
-t
--r
----c
----d
So if possible, I should be able to search folder "C" under folder "T"
|
One answer
Hello,
This is a recurrent question I think. There is a very interesting blog post at https://jazz.net/library/article/1197 . Scroll down to the middle of the page to find few examples of folder queries. I hope it helps. Best regards, JL Comments
Naveen Tyagi
commented Oct 05 '15, 8:06 a.m.
Hi Jean,
Jean-Luc Johnson
commented Oct 06 '15, 5:02 a.m.
Hello,
<oslc:QueryCapability> <dcterms:title rdf:parseType="Literal">Folder Query Capability</dcterms:title> <oslc:queryBase rdf:resource="https://grarrc.ibm.com:9443/rm/folders?oslc.where=public_rm:parent=https://grarrc.ibm.com:9443/rm/folders/_Or3t4OrtEeGaNr-hWVrMiw" /> </oslc:QueryCapability> Then send a GET on the appropriate URI to get the list of folder in your project area. I hope it helps.
Donald Nong
commented Oct 06 '15, 11:08 p.m.
You can't actually "search" a folder, as the folder query capability just gives a way to "locate" the root folder. See below post and the blog for more details.
Jean-Luc Johnson
commented Oct 07 '15, 5:52 a.m.
HI Donald,
|
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.