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

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- 4.0.1\jazz\connectors\gateway> synctool recordType=

"Customer" jazzServer="https://wsadmin: password@localhost:9443/ccm" projectArea=

"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_ RECORD_TYPES

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. 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></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

            <transformExtension>com.ibm. team.interop.service.managers. clearquest. WorkItemAttachmentValueTransfo rmer</transformExtension>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Blocks</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ 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></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

            <transformExtension>com.ibm. team.interop.service.managers. workitem. CategoryValueTransformer</ transformExtension>

            <valueMappings>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>Link to CQUS2 - Project Area (Synchronizer) </itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

            </valueMappings>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Children</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier> false</itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Comments</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName> CommentsWithDate</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName> CreationDate</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Creator</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>DependsOn</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ 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></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>DueDate</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>DuplicateOf< /itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Duration</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ 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></ requiredExternalProperties>

            <transformExtension>com.ibm. team.interop.service.managers. workitem. WorkflowActionValueTransformer </transformExtension>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Owner</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier> false</externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Parent</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Priority</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

            <valueMappings>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>High</itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>Low</itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>Medium</itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

                <valueMapping>

                    < externalValue></externalValue>

                    <itemValue>Critical</ itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

            </valueMappings>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Related</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</ outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Severity</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

            <valueMappings>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>3-Average</ itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>5-Enhancement</ itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>1-Critical</ itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>4-Minor</itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>2-Major</itemValue>

                    <defaultExternalValue> false</defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

            </valueMappings>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>State</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

            <valueMappings>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>Created</itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

            </valueMappings>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Resolution</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

            <valueMappings>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>Created</itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

            </valueMappings>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Summary</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Tags</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

        </propertyMapping>

        <propertyMapping>

            <externalPropertyName></ externalPropertyName>

            <itemPropertyName>Target</ itemPropertyName>

            <incoming>false</incoming>

            <outgoing>false</outgoing>

            <itemIdentifier>false</ itemIdentifier>

            <externalIdentifier>false</ externalIdentifier>

            <externalModifier>false</ externalModifier>

            <requiredItemProperties></ requiredItemProperties>

            <requiredExternalProperties></ requiredExternalProperties>

            <valueMappings>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>Release 1.0</itemValue>

                    <defaultExternalValue>false</ defaultExternalValue>

                    <defaultItemValue>false</ defaultItemValue>

                </valueMapping>

                <valueMapping>

                    <externalValue></ externalValue>

                    <itemValue>Sprint 1 (1.0)</itemValue>


Can anyone tell me what the problem is?

0 votes



3 answers

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

0 votes

Comments

Also, could you tell me what language your Jazz server is in?


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

0 votes

Comments

ohhh..... the copy and paste did not work again... just ignore the <wbr> tags. The syntax should be fine. It is generated by the eclipse client. I did not modify it manually.

got it!!!!!


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

sync rule editor

Let me know if this doesn't work.

Thanks,
Matt

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

Question asked: Mar 13 '13, 9:51 a.m.

Question was seen: 6,206 times

Last updated: Mar 13 '13, 11:59 a.m.

Confirmation Cancel Confirm