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

How to create syncrules programatically?

I can see the methods to load existing sync rules, modify and delete them using the interopmanager. Is there a similar method available to create a new syncrule.

0 votes


Accepted answer

Permanent link
Hello Sriram,

When you say you can see the methods, did you mean the methods through com.ibm.team.interop.client.IInteropManager API and com.ibm.team.interop.common.ISyncRule API?
If so, you can create a new syncrule instance via com.ibm.team.interop.common.InteropFactory#createSyncRule() and save it by IInteropManager API.

What makes you consider creating/editing sync rules programatically as opposed to ClearQuest synchronizer GUI?
Sriram B selected this answer as the correct answer

0 votes

Comments

Yes, I was looking for the InteropFactory and I figured that out after some digging around. Thanks again for the assistance

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,938

Question asked: Nov 21 '12, 11:56 p.m.

Question was seen: 4,443 times

Last updated: Nov 27 '12, 12:18 a.m.

Confirmation Cancel Confirm