Is it possible to retrieve Master Project Area name using RTC 6.0 api's ?
![]() Currently we are able to retrieve the Child Project Area details using RTC api's. We wanted to retrieve Master Project Area details (specifically name) when Child Project Area is connected to any master project area. We found the api to get project area : Modifier and Type : IProjectAreaHandle Method - Description : getProjectArea() - Returns the project area this attribute belongs to. As per above method description "Returns the project area this attribute belongs to", here attribute belongs to Child Project Area. Is it possible to directly get Master Project Area name (which is connected to the Child Project Area) without changing the attribute which belongs to Child Project Area using RTC api's from coding perspective.
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jul 22 '15, 12:37 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
https://rsjazz.wordpress.com/2014/11/28/the-process-sharing-api/
Kartik Shah selected this answer as the correct answer
|
One other answer
![]()
well, once you have the handle, like always, you have to load the properties for the object by using one of the auditable or fetch methods
my code from the accepted answer here https://jazz.net/forum/questions/159700/is-it-possible-to-migrate-an-rtc-project-area-to-a-different-process-parent-programmatically IProjectArea parentProject = (IProjectArea) (repo .itemManager().fetchCompleteItem(iparenthandle, IItemManager.DEFAULT, sPm)); System.out.println("have parent project name = " + parentProject.getName()); |
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.