It's all about the answers!

Ask a question

Reading the list of project Area


0
1
m sawires (1463268) | asked Aug 19 '09, 11:55 a.m.
Hello,
I'd like to know how to read a list of project area once I have a repository connection.
It looks like I need to use the api "fetchCompleteItems" but how should I initialize the list of itemHandle to return

repo.itemManager().fetchCompleteItems(projectAreaList, IItemManager.DEFAULT, monitor);


Any help is welcome. Thanks

12 answers



permanent link
radhika bandari (10675) | answered Dec 23 '11, 6:45 a.m.
Hi,
Thanks for replay..

findProcessArea method is throwing error when I give ProjectArea name as String. I suppose it needs areaURI in string format.
I tried with different options

URI.create("https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/_cgoIABWmEeGnN4lxE3OfSw"))
other than UUID i give project name then it is giving error invalied URI.
https://radhikabandari.in.ibm.com:9443/ccm/projectareaname
https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/projectareaname

Any help..

Regards,
Radhika

permanent link
Kevin Gu (17131) | answered Dec 28 '11, 2:55 a.m.
JAZZ DEVELOPER
Hi,
Thanks for replay..

findProcessArea method is throwing error when I give ProjectArea name as String. I suppose it needs areaURI in string format.
I tried with different options

URI.create("https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/_cgoIABWmEeGnN4lxE3OfSw"))
other than UUID i give project name then it is giving error invalied URI.
https://radhikabandari.in.ibm.com:9443/ccm/projectareaname
https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/projectareaname

Any help..

Regards,
Radhika


Hi,

Here is parameter description:
Returns the process area for the given URI. URIs have been chosen for future extensibility. Currently only hierarchical URIs are supported. Only the path segment of the hierarchical URI is considered. The first segment should be the name of a project area, the following segments should be the names of team areas.

You could pass new URI(ProjectAreaName), e.g. new URI("prj1").

Kevin
Jazz Foundation Process Team

Your answer


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