Problem using ClearQuest Synchronizer Synctool
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
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
I am sorry. This is a copy/paste error. You find the correct XML attached. What do you mean by asking for a language. Should be Java... If you are asking for natural language: The OS is English (US) and the server installation is English, too. My keyboard is set to German layout, as I am using a German laptop.
Here is the XML again:
<?xml version="1.0" encoding="utf-8"?><syncRule>
<name>com.ibm.rational.clearquest.Customer.Link to CQUS2 - Project Area (Synchronizer)</name>
<externalTypeName>com.ibm.rational.clearquest.Customer</externalTypeName>
<syncItemTypeName>WorkItem</syncItemTypeName>
<syncItemTypeNsURI>com.ibm.team.workitem</syncItemTypeNsURI>
<syncItemTypeQualifier>Type:com.ibm.team.workitem.workItemType.customer</syncItemTypeQualifier>
<itemManager>com.ibm.team.interop.service.managers.workitem.WorkItemManager</itemManager>
<externalManager>com.ibm.team.interop.service.managers.clearquest.CQExternalManager</externalManager>
<maxCycleCount>0</maxCycleCount>
<syncAllItemStates>false</syncAllItemStates>
<propertyMappings>
<propertyMapping>
<externalPropertyName>Attachment</externalPropertyName>
<itemPropertyName>Attachments</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
<transformExtension>com.ibm.team.interop.service.managers.clearquest.WorkItemAttachmentValueTransformer</transformExtension>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Blocks</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName>DummyField</externalPropertyName>
<itemPropertyName>Category</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
<transformExtension>com.ibm.team.interop.service.managers.workitem.CategoryValueTransformer</transformExtension>
<valueMappings>
<valueMapping>
<externalValue/>
<itemValue>Link to CQUS2 - Project Area (Synchronizer) </itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Children</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Comments</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>CommentsWithDate</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>CreationDate</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Creator</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>DependsOn</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Description</externalPropertyName>
<itemPropertyName>Description</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>DueDate</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>DuplicateOf</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Duration</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>JazzWorkFlowAction</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<itemPropertyName>State</itemPropertyName>
</requiredItemProperties>
<requiredExternalProperties/>
<transformExtension>com.ibm.team.interop.service.managers.workitem.WorkflowActionValueTransformer</transformExtension>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Owner</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Parent</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Priority</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
<valueMappings>
<valueMapping>
<externalValue/>
<itemValue>High</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>Low</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>Medium</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>Critical</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Related</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Severity</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
<valueMappings>
<valueMapping>
<externalValue/>
<itemValue>3-Average</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>5-Enhancement</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>1-Critical</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>4-Minor</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>2-Major</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>State</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
<valueMappings>
<valueMapping>
<externalValue/>
<itemValue>Created</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Resolution</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
<valueMappings>
<valueMapping>
<externalValue/>
<itemValue>Created</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Summary</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Tags</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Target</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
<valueMappings>
<valueMapping>
<externalValue/>
<itemValue>Release 1.0</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>Sprint 1 (1.0)</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>Sprint 2 (1.0)</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>Backlog</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName>record_type</externalPropertyName>
<itemPropertyName>Type</itemPropertyName>
<incoming>false</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>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>com.ibm.team.workitem.workItemType.customer</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>task</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>com.ibm.team.apt.workItemType.story</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>com.ibm.team.apt.workItemType.epic</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>com.ibm.team.workItemType.buildtrackingitem</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>com.ibm.team.workitem.workItemType.impediment</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>com.ibm.team.workItemType.adoption</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue/>
<itemValue>com.ibm.team.workitem.workItemType.retrospective</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>Version</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName>dbid</externalPropertyName>
<itemPropertyName>Id</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName/>
<itemPropertyName>attribute:string:customer.description</itemPropertyName>
<incoming>false</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Name</externalPropertyName>
<itemPropertyName>attribute:smallString:customer.name</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>true</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties/>
<requiredExternalProperties/>
</propertyMapping>
</propertyMappings>
</syncRule>
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