Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is it posiible to change owner of the component programmactically using JAVA API?

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 ?

0 votes



2 answers

Permanent link
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)

0 votes


Permanent link

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);

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,953

Question asked: Aug 14 '13, 9:38 a.m.

Question was seen: 6,204 times

Last updated: Aug 19 '13, 2:22 a.m.

Confirmation Cancel Confirm