How to get list of Project Areas that use process configuration from another common Project Area?
![]() We have defined 3 different Master Process templates and all other Projects are mapped to one of these Process templates. How can we get a list of Project Areas that use a given Master Process template? |
One answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Sep 24 '18, 3:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Hi,
you could use the plain Java API to do that. Here is example code: https://rsjazz.wordpress.com/2014/11/28/the-process-sharing-api/
The API explained there allows to check if a project area shares the process and shows which project areas process it shares. You would iterate over all project areas to do that. The blog explains how to in other examples. e.g.
List<iprojectarea> projectAreas = getProcessItemService(repo) .findAllProjectAreas(null, monitor); |