It's all about the answers!

Ask a question

Fetch all Project Areas in a repository using Plain Java API


Ashok Pon Kumar (1633) | asked Dec 26 '09, 7:10 a.m.
JAZZ DEVELOPER
I am looking for a way to fetch all the project areas inside a repository.

I have connected to the repository and have an object of type ITeamRepository, but unfortunately I could not find a client library which will give me the list of all project areas in the repository. I am able to find only api's which will give me the project area for which I know the name.

2 answers



permanent link
Sridevi Sangaiah (59179) | answered Dec 28 '09, 5:07 a.m.
JAZZ DEVELOPER
I am looking for a way to fetch all the project areas inside a repository.

I have connected to the repository and have an object of type ITeamRepository, but unfortunately I could not find a client library which will give me the list of all project areas in the repository. I am able to find only api's which will give me the project area for which I know the name.


Hi,
IProcessItemService.findAllProjectAreas() will fetch the list of all Project Areas. For more details have a look at - http://jazz.net/forums/viewtopic.php?t=6360&highlight=iprocessitemservice.

Thanks
Sridevi
Jazz Process Team

permanent link
Ashok Pon Kumar (1633) | answered Dec 28 '09, 7:57 a.m.
JAZZ DEVELOPER
Thanks for the reply. It worked like magic!!! :)

Your answer


Register or to post your answer.