How to retrieve all projects from a repository?
Hi
I'd like to list all projects that are stored in a repository. Anyone knows how I can do that? I use this code to get the project, but I don't want to hardcode it, but provide the user with a possiblilty to choose it from all available lists: URI uri= URI.create("TestProjekt (nderungsmanagement)".replaceAll(" ", "%20")); And additionally: Is there any API documentation available? Unfortunately if I'm using Eclipse I can't find any method documentation at all. |
4 answers
Hello,
I believe what you are looking for is IProcessItemService#findAllProjectAreas. Regards, Martha Jazz Developer Hi |
Yes, but my problem is, I don't know how to get to a IProcessItemService object-
|
Yes, but my problem is, I don't know how to get to a IProcessItemService object- You can get it by (IProcessItemService) repository.getClientLibrary(IProcessItemService.class) Dancy Jazz Foundation Process Team |
Ok thanks. Now I'm a step further.
But isn't there any documentation about those methods? For example what findAllProjectAreas returns, or what parameters it expects? |
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.