Get All Requirement Project area Name from a query.
Hi,
The requirement is that:-
There will be 3 fields
One User id:- preetam@in.ibm.com
Password:- ***********
RM URL:- https://(host):(Port)/rm
Now the user will click the GO button
So from this information we will call the OSLC and want to get all the project area where users have permission.
So we want a query from where we can get all the project area name by giving valid user id and password and the url of the rm.
The requirement is that:-
There will be 3 fields
One User id:- preetam@in.ibm.com
Password:- ***********
RM URL:- https://(host):(Port)/rm
Now the user will click the GO button
So from this information we will call the OSLC and want to get all the project area where users have permission.
So we want a query from where we can get all the project area name by giving valid user id and password and the url of the rm.
Accepted answer
Not sure if this fits your needs but you can find out more information about how to get that through OSLC in this wiki:
Using OSLC capabilities in the Requirements Management application
See the entry about ...rm/discovery/RMCatalog
Using OSLC capabilities in the Requirements Management application
See the entry about ...rm/discovery/RMCatalog
2 other answers
Thanks Fabian. I have resolved the issues.
Right now i stuck in another place is that, i am creating new artifacts through OSLC in the rm, but all the artifacts is creating in the root folder.
But i want it to create in a specific folder that present in the root folder.
So that i don't have to replace manually all the artifacts from root folder to that particular folder.
So is there any query present to create the artifacts at that particular folder.
can you provide some example.
Right now i stuck in another place is that, i am creating new artifacts through OSLC in the rm, but all the artifacts is creating in the root folder.
But i want it to create in a specific folder that present in the root folder.
So that i don't have to replace manually all the artifacts from root folder to that particular folder.
So is there any query present to create the artifacts at that particular folder.
can you provide some example.
You can create the artifact in an specific folder, just need the folder resource URI to use it when creating artifact request. In the same Using OSLC capabilities in the Requirements Management application article, in the 'Managing artifacts' -> '2. Creating artifacts' you may encounter more information. Basically you will need to replace the
...
<nav:parent rdf:resource="https://grarrc.ibm.com:9443/rm/folders/_zpWqELrZEeG3OKR6fZ1svQ"/>
...
by your folder resource uri you want to create your artifact under.
...
<nav:parent rdf:resource="https://grarrc.ibm.com:9443/rm/folders/_zpWqELrZEeG3OKR6fZ1svQ"/>
...
by your folder resource uri you want to create your artifact under.