How to trigger reference sync rule programmatically?
![]()
We are using Item connector framework where work item sync rule and attachment sync rule (reference sync rule). We have a situation where we need to programmatically trigger the attachment reference sync rule. Your help is highly appreciated.
|
One answer
![]()
you need to use the IInteropManager client library or service.
then syncronizeIncoming() or syncronizeOutgoing(). synchronizeIncomingvoid synchronizeIncoming(IExternalProxyHandle proxyHandle, IExternalStateHandle xstateHandle, IAuditableHandle syncedItemStateHandle, ISyncRuleHandle syncRuleHandle, org.eclipse.core.runtime.IProgressMonitor monitor) throws TeamRepositoryExceptionSchedule synchronization of a Jazz item with the state of an external object. The external object is represented by its proxy. If a Jazz item is already associated with the proxy, it is updated (if possible); otherwise, a new item is created (if possible). |
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.