Problem using ClearQuest Synchronizer Synctool
![]()
Hey there,
I am trying to sync the out-of-the-box Defect Tracking schema Customer Record (CQ 8.0) with a self-build customer work item type in RTC (4.0.1). As the automated synchronization is not working, I tried to debug my sync rules using the synctool. This is what I get when I try to batch import my Customers from CQ:
C:\IBM\RTC-CQSynchronizer-Win-
"Customer" jazzServer="https://wsadmin:
"Link to CQUS2 - Project Area (Synchronizer)" 1 file(s) copied. The SyncTool has started... The SyncTool is trying to login to https://localhost:9443/ccm ...
>>> No getter registered for CqExUserDb.OSLCLINKS_ENBALED_
The SyncTool has logged into the CQ SampleSchemaRepoMarco/CQUS2 schema repositor y/user database. 1. Syncing Customer Customer XYZ ... synchronization status is INCOMING_ERROR java.lang.RuntimeException: Synchronization cannot occur because the required work item type is not specified. 2. Syncing Customer Customer ABC ... synchronization status is INCOMING_ERROR java.lang.RuntimeException: Synchronization cannot occur because the required work item type is not specified. Finished syncing records.
This is my sync rule source:
<?xml version="1.0" encoding="utf-8"?><syncRule>
<name>com.ibm.rational.
<externalTypeName>com.ibm.
<syncItemTypeName>WorkItem</
<syncItemTypeNsURI>com.ibm.
<syncItemTypeQualifier>Type:
<itemManager>com.ibm.team.
<externalManager>com.ibm.team.
<maxCycleCount>0</
<syncAllItemStates>false</
<propertyMappings> <propertyMapping>
<externalPropertyName>
<itemPropertyName>Attachments<
<incoming>true</incoming> <outgoing>true</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
<transformExtension>com.ibm.
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Blocks</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName>
<itemPropertyName>Category</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
<transformExtension>com.ibm.
<valueMappings> <valueMapping>
<externalValue></
<itemValue>Link to CQUS2 - Project Area (Synchronizer) </itemValue>
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> </valueMappings> </propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Children</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Comments</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Creator</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>DependsOn</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName>
<itemPropertyName>Description<
<incoming>true</incoming> <outgoing>true</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>DueDate</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>DuplicateOf<
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Duration</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties>
<itemPropertyName>State</
</requiredItemProperties>
<requiredExternalProperties></
<transformExtension>com.ibm.
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Owner</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Parent</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Priority</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
<valueMappings> <valueMapping>
<externalValue></
<itemValue>High</itemValue>
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> <valueMapping>
<externalValue></
<itemValue>Low</itemValue>
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> <valueMapping>
<externalValue></
<itemValue>Medium</itemValue>
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> <valueMapping>
<
<itemValue>Critical</
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> </valueMappings> </propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Related</
<incoming>false</incoming>
<outgoing>false</
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Severity</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
<valueMappings> <valueMapping>
<externalValue></
<itemValue>3-Average</
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> <valueMapping>
<externalValue></
<itemValue>5-Enhancement</
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> <valueMapping>
<externalValue></
<itemValue>1-Critical</
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> <valueMapping>
<externalValue></
<itemValue>4-Minor</itemValue>
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> <valueMapping>
<externalValue></
<itemValue>2-Major</itemValue>
<defaultExternalValue>
<defaultItemValue>false</
</valueMapping> </valueMappings> </propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>State</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
<valueMappings> <valueMapping>
<externalValue></
<itemValue>Created</itemValue>
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> </valueMappings> </propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Resolution</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
<valueMappings> <valueMapping>
<externalValue></
<itemValue>Created</itemValue>
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> </valueMappings> </propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Summary</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Tags</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
</propertyMapping> <propertyMapping>
<externalPropertyName></
<itemPropertyName>Target</
<incoming>false</incoming> <outgoing>false</outgoing>
<itemIdentifier>false</
<externalIdentifier>false</
<externalModifier>false</
<requiredItemProperties></
<requiredExternalProperties></
<valueMappings> <valueMapping>
<externalValue></
<itemValue>Release 1.0</itemValue>
<defaultExternalValue>false</
<defaultItemValue>false</
</valueMapping> <valueMapping>
<externalValue></
<itemValue>Sprint 1 (1.0)</itemValue>
Can anyone tell me what the problem is?
|
3 answers
![]()
Hi Marco,
The first thing I notice is that the tags in your sync rule are not correct. Do they really look like this, or was it a copy and paste issue? For example: <syncitemtypename>WorkItem syncItemTypeName> Should probably look like this: <syncItemTypeName>WorkItem</syncItemTypeName> I also see several <wbr> tags. Are these really in the sync rule? Thanks, Matt |
![]()
Hi Marco,
I believe you need the work item property "Type" mapped in your sync rule. This will tell Jazz what kind of work item to create (defect, enhancement, task, etc). It will be a property used during incoming synchronization only. The XML will look something like this: <propertyMapping> <externalPropertyName/> <itemPropertyName>Type</itemPropertyName> <incoming>true</incoming> <outgoing>false</outgoing> <itemIdentifier>false</itemIdentifier> <externalIdentifier>false</externalIdentifier> <externalModifier>false</externalModifier> <requiredItemProperties/> <requiredExternalProperties/> <valueMappings> <valueMapping> <externalValue/> <itemValue>defect</itemValue> <defaultExternalValue>false</defaultExternalValue> <defaultItemValue>true</defaultItemValue> </valueMapping> <valueMapping> <externalValue/> <itemValue>enhancement</itemValue> <defaultExternalValue>false</defaultExternalValue> <defaultItemValue>false</defaultItemValue> </valueMapping> <valueMapping> <externalValue/> <itemValue>task</itemValue> <defaultExternalValue>false</defaultExternalValue> <defaultItemValue>false</defaultItemValue> </valueMapping> </valueMappings> </propertyMapping> In the sync rule editor: ![]() Let me know if this doesn't work. Thanks, Matt |