Is it posiible to change owner of the component programmactically using JAVA API?
![]()
Dashrath Kale (154●27●23)
| asked Aug 14 '13, 9:38 a.m.
retagged Aug 14 '13, 12:17 p.m. by Te-Hsin Shih (285●4)
When the component is created programmatically with JAVA API then it gets the owner as a user which created the component but we want to change the owner to project or team area. Is it possible using JAVA API ?
|
2 answers
![]()
You can download the RTC SDK and the Javadoc for Java API from the the RTC download site - https://jazz.net/downloads/rational-team-concert.
The function you are looking for is - IWorkspaceManager.renameComponent(IComponentHandle component, String componentName, IProgressMonitor progressMonitor) |
![]() Hi Te-Hsin Thanks for your reply but I was looking for changing the owner of the component to project or team area and I can now do it with the following method :
workspaceManager.setComponentOwnerAndVisibility(IComponentHandle ch, IAuditableHandle ah, IReadScope pscope, monitor); |
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.