It's all about the answers!

Ask a question

No mapping defined


Perry Smith (126172) | asked Jun 02 '09, 10:32 a.m.
Can someone explain why the outgoing sync status message below appears or where I can get enough information to resolve it?

com.ibm.team.repository.common.TeamRepositoryException: There is no mapping defined for value "Submitted" of property "StateResolution" in synchronization rule com.ibm.rational.clearquest.DefectTrackingInterop.Defect

From what I can tell, this error should not be appearing which means I'm missing something. What? I'm looking at mappings and don't see what the system is complaining about.

6 answers



permanent link
John Vasta (2.6k15) | answered Jun 02 '09, 11:23 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
This is saying that you have a mapping for the "StateResolution" property, where the current value of the property is "Submitted", but there is no mapping for that value.

It looks like you imported the sample synchronization rules that come with the CQ Connector. Those rules are designed to work with a CQ schema that is also part of the sample, called DefectTrackingInterop, and the Eclipse Way process template. So if you are trying to use them under some other conditions (e.g. not using the DefectTrackingInterop schema, or not using the Eclipse Way process template), then they probably aren't going to work very well for you.

Are you sure this involved outgoing synchronization? Because the sample synchronization rule has a mapping for the CQ state "Submitted" to the work item state "New". If this was really for outgoing synchronization, that would mean that you have a work item state named "Submitted", which is not the case for the Eclipse Way process template. Since you're posting to the RQM forum, does that mean your work item configuration is different?

Can someone explain why the outgoing sync status message below appears or where I can get enough information to resolve it?

com.ibm.team.repository.common.TeamRepositoryException: There is no mapping defined for value "Submitted" of property "StateResolution" in synchronization rule com.ibm.rational.clearquest.DefectTrackingInterop.Defect

From what I can tell, this error should not be appearing which means I'm missing something. What? I'm looking at mappings and don't see what the system is complaining about.

permanent link
Perry Smith (126172) | answered Jun 02 '09, 1:28 p.m.
I will work on creating new sync rules. I suspected I would have to, but I was hoping to modify the out-of-box rules to fit my system rather than startign from scratch.

This is saying that you have a mapping for the "StateResolution" property, where the current value of the property is "Submitted", but there is no mapping for that value.

It looks like you imported the sample synchronization rules that come with the CQ Connector. Those rules are designed to work with a CQ schema that is also part of the sample, called DefectTrackingInterop, and the Eclipse Way process template. So if you are trying to use them under some other conditions (e.g. not using the DefectTrackingInterop schema, or not using the Eclipse Way process template), then they probably aren't going to work very well for you.

Are you sure this involved outgoing synchronization? Because the sample synchronization rule has a mapping for the CQ state "Submitted" to the work item state "New". If this was really for outgoing synchronization, that would mean that you have a work item state named "Submitted", which is not the case for the Eclipse Way process template. Since you're posting to the RQM forum, does that mean your work item configuration is different?

Can someone explain why the outgoing sync status message below appears or where I can get enough information to resolve it?

com.ibm.team.repository.common.TeamRepositoryException: There is no mapping defined for value "Submitted" of property "StateResolution" in synchronization rule com.ibm.rational.clearquest.DefectTrackingInterop.Defect

From what I can tell, this error should not be appearing which means I'm missing something. What? I'm looking at mappings and don't see what the system is complaining about.

permanent link
Perry Smith (126172) | answered Jun 02 '09, 1:37 p.m.
Looking at the Property Mappings shows that the Item Property StateResolution is mapped to External Property State in my ClearQuest system. State would have the value of Submitted. I also see Item Value mappings between Item and External Properties that appear to be valid. What I don't understand is, where else are these mappings defined? The system is acting as though I'm missing something.

This is saying that you have a mapping for the "StateResolution" property, where the current value of the property is "Submitted", but there is no mapping for that value.

It looks like you imported the sample synchronization rules that come with the CQ Connector. Those rules are designed to work with a CQ schema that is also part of the sample, called DefectTrackingInterop, and the Eclipse Way process template. So if you are trying to use them under some other conditions (e.g. not using the DefectTrackingInterop schema, or not using the Eclipse Way process template), then they probably aren't going to work very well for you.

Are you sure this involved outgoing synchronization? Because the sample synchronization rule has a mapping for the CQ state "Submitted" to the work item state "New". If this was really for outgoing synchronization, that would mean that you have a work item state named "Submitted", which is not the case for the Eclipse Way process template. Since you're posting to the RQM forum, does that mean your work item configuration is different?

Can someone explain why the outgoing sync status message below appears or where I can get enough information to resolve it?

com.ibm.team.repository.common.TeamRepositoryException: There is no mapping defined for value "Submitted" of property "StateResolution" in synchronization rule com.ibm.rational.clearquest.DefectTrackingInterop.Defect

From what I can tell, this error should not be appearing which means I'm missing something. What? I'm looking at mappings and don't see what the system is complaining about.

permanent link
John Vasta (2.6k15) | answered Jun 02 '09, 2:34 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
It sounds like you've made some changes to the sample sync rules, since in the sample, both item and external property names are "StateResolution". And yes, the CQ value for State would be "Submitted", but as I said, an error saying there is no mapping defined for "Submitted" would imply a problem with incoming synchronization, not outgoing synchronization. Can you post the XML representation of your sync rule here? Also, post the complete text containing the error message from the synchronization status view; you didn't include the part that says whether incoming or outgoing synchronization was being attempted.

Looking at the Property Mappings shows that the Item Property StateResolution is mapped to External Property State in my ClearQuest system. State would have the value of Submitted. I also see Item Value mappings between Item and External Properties that appear to be valid. What I don't understand is, where else are these mappings defined? The system is acting as though I'm missing something.

This is saying that you have a mapping for the "StateResolution" property, where the current value of the property is "Submitted", but there is no mapping for that value.

It looks like you imported the sample synchronization rules that come with the CQ Connector. Those rules are designed to work with a CQ schema that is also part of the sample, called DefectTrackingInterop, and the Eclipse Way process template. So if you are trying to use them under some other conditions (e.g. not using the DefectTrackingInterop schema, or not using the Eclipse Way process template), then they probably aren't going to work very well for you.

Are you sure this involved outgoing synchronization? Because the sample synchronization rule has a mapping for the CQ state "Submitted" to the work item state "New". If this was really for outgoing synchronization, that would mean that you have a work item state named "Submitted", which is not the case for the Eclipse Way process template. Since you're posting to the RQM forum, does that mean your work item configuration is different?

Can someone explain why the outgoing sync status message below appears or where I can get enough information to resolve it?

com.ibm.team.repository.common.TeamRepositoryException: There is no mapping defined for value "Submitted" of property "StateResolution" in synchronization rule com.ibm.rational.clearquest.DefectTrackingInterop.Defect

From what I can tell, this error should not be appearing which means I'm missing something. What? I'm looking at mappings and don't see what the system is complaining about.

permanent link
Perry Smith (126172) | answered Jun 02 '09, 3:44 p.m.
Yes. I got the out-of-the-box system working and then went about modifying it for our customized ClearQuest.

Outgoing at 6/2/09 2:34:41 PM CDT
Error occurred:
com.ibm.team.repository.common.TeamRepositoryException: There is no mapping defined for value "Submitted" of property "StateResolution" in synchronization rule com.ibm.rational.clearquest.DefectTrackingInterop.Defect

<xml>
<syncRule>
<name>com.ibm.rational.clearquest.DefectTrackingInterop.Defect</name>
<externalTypeName>com.ibm.rational.clearquest.Defect</externalTypeName>
<syncItemTypeName>WorkItem</syncItemTypeName>
<syncItemTypeNsURI>com.ibm.team.workitem</syncItemTypeNsURI>
<syncItemTypeQualifier>TypeCategory:com.ibm.team.workitem.workItemType</syncItemTypeQualifier>
<itemManager>com.ibm.team.interop.service.managers.workitem.WorkItemManager</itemManager>
<externalManager>com.ibm.team.interop.service.managers.clearquest.CQExternalManager</externalManager>
<maxCycleCount>10</maxCycleCount>
<syncAllItemStates>true</syncAllItemStates>
<propertyMappings>
<propertyMapping>
<externalPropertyName>Headline</externalPropertyName>
<itemPropertyName>Summary</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</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>Priority</externalPropertyName>
<itemPropertyName>Priority</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
<valueMappings>
<valueMapping>
<externalValue>1-Resolve Immediately</externalValue>
<itemValue>High</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>2-Give High Attention</externalValue>
<itemValue>High</itemValue>
<defaultExternalValue>true</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>3-Normal Queue</externalValue>
<itemValue>Medium</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>4-Low Priority</externalValue>
<itemValue>Low</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>
<itemValue>Unassigned</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Severity</externalPropertyName>
<itemPropertyName>Severity</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
<valueMappings>
<valueMapping>
<externalValue>1-Critical</externalValue>
<itemValue>Critical</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>true</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>1-Critical</externalValue>
<itemValue>Blocker</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>2-Major</externalValue>
<itemValue>Major</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>3-Average</externalValue>
<itemValue>Normal</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>4-Minor</externalValue>
<itemValue>Minor</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>5-Enhancement</externalValue>
<itemValue>Unclassified</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>2-Medium-Next Release</externalValue>
<itemValue>2-Medium-Next Release</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>1-High-Before Next Release</externalValue>
<itemValue>1-High-Before Next Release</itemValue>
<defaultExternalValue>true</defaultExternalValue>
<defaultItemValue>true</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>3-Low-Future Release</externalValue>
<itemValue>3-Low-Future Release</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Submitter</externalPropertyName>
<itemPropertyName>Creator</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
<referenceSyncRule>com.ibm.rational.clearquest.DefectTrackingInterop.users</referenceSyncRule>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Owner</externalPropertyName>
<itemPropertyName>Owner</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
<referenceSyncRule>com.ibm.rational.clearquest.DefectTrackingInterop.users</referenceSyncRule>
</propertyMapping>
<propertyMapping>
<externalPropertyName>State</externalPropertyName>
<itemPropertyName>StateResolution</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
<valueMappings>
<valueMapping>
<externalValue>Submitted</externalValue>
<itemValue>New</itemValue>
<defaultExternalValue>true</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Submitted</externalValue>
<itemValue>New/Unresolved</itemValue>
<defaultExternalValue>true</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Assigned</externalValue>
<itemValue>New/Unresolved</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Opened</externalValue>
<itemValue>In Progress/Unresolved</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>true</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Opened</externalValue>
<itemValue>Reopened/Unresolved</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Opened</externalValue>
<itemValue>Triaged/Unresolved</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Resolved/Fixed</externalValue>
<itemValue>Resolved/Fixed</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Resolved/Fixed Indirectly</externalValue>
<itemValue>Resolved/Fixed Upstream</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Duplicate</externalValue>
<itemValue>Resolved/Duplicate</itemValue>
<defaultExternalValue>true</defaultExternalValue>
<defaultItemValue>true</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Duplicate</externalValue>
<itemValue>Verified/Duplicate</itemValue>
<defaultExternalValue>true</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Resolved/Duplicate</externalValue>
<itemValue>Resolved/Duplicate</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Duplicate/Duplicate</externalValue>
<itemValue>Resolved/Duplicate</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>true</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Duplicate/Duplicate</externalValue>
<itemValue>Verified/Duplicate</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Duplicate/Enhancement Request</externalValue>
<itemValue>Resolved/Duplicate</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Duplicate/Fixed</externalValue>
<itemValue>Resolved/Duplicate</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Duplicate/Fixed Indirectly</externalValue>
<itemValue>Resolved/Duplicate</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Duplicate/Functions as Designed</externalValue>
<itemValue>Resolved/Duplicate</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Resolved/Functions as Designed</externalValue>
<itemValue>Resolved/Works For Me</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>true</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Resolved/Functions as Designed</externalValue>
<itemValue>Resolved/Won't Fix</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Resolved/Functions as Designed</externalValue>
<itemValue>Resolved/Invalid</itemValue>
<defaultExternalValue>true</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Resolved/Enhancement Request</externalValue>
<itemValue>Resolved/Invalid</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Closed/Fixed</externalValue>
<itemValue>Closed/Fixed</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Closed/Fixed Indirectly</externalValue>
<itemValue>Closed/Fixed Upstream</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Closed/Enhancement Request</externalValue>
<itemValue>Closed/Invalid</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Closed/Duplicate</externalValue>
<itemValue>Closed/Duplicate</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Closed/Functions as Designed</externalValue>
<itemValue>Closed/Works For Me</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>true</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Closed/Functions as Designed</externalValue>
<itemValue>Closed/Won't Fix</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Closed/Functions as Designed</externalValue>
<itemValue>Closed/Invalid</itemValue>
<defaultExternalValue>true</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Postponed</externalValue>
<itemValue>Resolved/Later</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>true</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Postponed</externalValue>
<itemValue>Resolved/Remind</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Postponed</externalValue>
<itemValue>Verified/Later</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Postponed</externalValue>
<itemValue>Verified/Remind</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Postponed</externalValue>
<itemValue>Closed/Remind</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
<valueMapping>
<externalValue>Postponed</externalValue>
<itemValue>Closed/Remind</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName>
<itemPropertyName>JazzWorkFlowAction</itemPropertyName>
<incoming>true</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<itemPropertyName>StateResolution</itemPropertyName>
</requiredItemProperties>
<requiredExternalProperties>
<transformExtension>com.ibm.team.interop.service.managers.workitem.WorkflowActionValueTransformer</transformExtension>
<valueMappings>
<valueMapping>
<externalValue>
<itemValue>Resolved,Unconfirmed:Unconfirm</itemValue>
<defaultExternalValue>false</defaultExternalValue>
<defaultItemValue>false</defaultItemValue>
</valueMapping>
</valueMappings>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Project</externalPropertyName>
<itemPropertyName>Category</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
<referenceSyncRule>com.ibm.rational.clearquest.DefectTrackingInterop.Project</referenceSyncRule>
</propertyMapping>
<propertyMapping>
<externalPropertyName>id</externalPropertyName>
<itemPropertyName>attribute:smallString:CQ Id</itemPropertyName>
<incoming>true</incoming>
<outgoing>false</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>true</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Notes_Log</externalPropertyName>
<itemPropertyName>Comments</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.WorkItemNotesValueTransformer</transformExtension>
<referenceSyncRule>com.ibm.rational.clearquest.DefectTrackingInterop.users</referenceSyncRule>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Iteration</externalPropertyName>
<itemPropertyName>Target</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Keywords</externalPropertyName>
<itemPropertyName>Tags</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.WorkItemTagsValueTransformer</transformExtension>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Duration</externalPropertyName>
<itemPropertyName>Duration</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.TimestampToDayValueTransformer</transformExtension>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Due_Date</externalPropertyName>
<itemPropertyName>DueDate</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
</propertyMapping>
<propertyMapping>
<externalPropertyName>original</externalPropertyName>
<itemPropertyName>DuplicateOf</itemPropertyName>
<incoming>true</incoming>
<outgoing>true</outgoing>
<itemIdentifier>false</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
<referenceSyncRule>com.ibm.rational.clearquest.DefectTrackingInterop.Defect</referenceSyncRule>
</propertyMapping>
<propertyMapping>
<externalPropertyName>Attachments</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>
<referenceSyncRule>com.ibm.rational.clearquest.DefectTrackingInterop.Attachment</referenceSyncRule>
</propertyMapping>
<propertyMapping>
<externalPropertyName>jazz_work_item</externalPropertyName>
<itemPropertyName>Id</itemPropertyName>
<incoming>false</incoming>
<outgoing>true</outgoing>
<itemIdentifier>true</itemIdentifier>
<externalIdentifier>false</externalIdentifier>
<externalModifier>false</externalModifier>
<requiredItemProperties>
<requiredExternalProperties>
</propertyMapping>
<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>
</propertyMappings>
</syncRule>




It sounds like you've made some changes to the sample sync rules, since in the sample, both item and external property names are "StateResolution". And yes, the CQ value for State would be "Submitted", but as I said, an error saying there is no mapping defined for "Submitted" would imply a problem with incoming synchronization, not outgoing synchronization. Can you post the XML representation of your sync rule here? Also, post the complete text containing the error message from the synchronization status view; you didn't include the part that says whether incoming or outgoing synchronization was being attempted.

Looking at the Property Mappings shows that the Item Property StateResolution is mapped to External Property State in my ClearQuest system. State would have the value of Submitted. I also see Item Value mappings between Item and External Properties that appear to be valid. What I don't understand is, where else are these mappings defined? The system is acting as though I'm missing something.

This is saying that you have a mapping for the "StateResolution" property, where the current value of the property is "Submitted", but there is no mapping for that value.

It looks like you imported the sample synchronization rules that come with the CQ Connector. Those rules are designed to work with a CQ schema that is also part of the sample, called DefectTrackingInterop, and the Eclipse Way process template. So if you are trying to use them under some other conditions (e.g. not using the DefectTrackingInterop schema, or not using the Eclipse Way process template), then they probably aren't going to work very well for you.

Are you sure this involved outgoing synchronization? Because the sample synchronization rule has a mapping for the CQ state "Submitted" to the work item state "New". If this was really for outgoing synchronization, that would mean that you have a work item state named "Submitted", which is not the case for the Eclipse Way process template. Since you're posting to the RQM forum, does that mean your work item configuration is different?

Can someone explain why the outgoing sync status message below appears or where I can get enough information to resolve it?

com.ibm.team.repository.common.TeamRepositoryException: There is no mapping defined for value "Submitted" of property "StateResolution" in synchronization rule com.ibm.rational.clearquest.DefectTrackingInterop.Defect

From what I can tell, this error should not be appearing which means I'm missing something. What? I'm looking at mappings and don't see what the system is complaining about.

permanent link
Perry Smith (126172) | answered Jun 02 '09, 4:26 p.m.
I believe we resolved this issue. In the Value Mappings section of the sync rule, I was able to type in a value that matched that of our Assigned State in ClearQuest. The error messages went away. All seems well now.

Thank you

It sounds like you've made some changes to the sample sync rules, since in the sample, both item and external property names are "StateResolution". And yes, the CQ value for State would be "Submitted", but as I said, an error saying there is no mapping defined for "Submitted" would imply a problem with incoming synchronization, not outgoing synchronization. Can you post the XML representation of your sync rule here? Also, post the complete text containing the error message from the synchronization status view; you didn't include the part that says whether incoming or outgoing synchronization was being attempted.

Looking at the Property Mappings shows that the Item Property StateResolution is mapped to External Property State in my ClearQuest system. State would have the value of Submitted. I also see Item Value mappings between Item and External Properties that appear to be valid. What I don't understand is, where else are these mappings defined? The system is acting as though I'm missing something.

This is saying that you have a mapping for the "StateResolution" property, where the current value of the property is "Submitted", but there is no mapping for that value.

It looks like you imported the sample synchronization rules that come with the CQ Connector. Those rules are designed to work with a CQ schema that is also part of the sample, called DefectTrackingInterop, and the Eclipse Way process template. So if you are trying to use them under some other conditions (e.g. not using the DefectTrackingInterop schema, or not using the Eclipse Way process template), then they probably aren't going to work very well for you.

Are you sure this involved outgoing synchronization? Because the sample synchronization rule has a mapping for the CQ state "Submitted" to the work item state "New". If this was really for outgoing synchronization, that would mean that you have a work item state named "Submitted", which is not the case for the Eclipse Way process template. Since you're posting to the RQM forum, does that mean your work item configuration is different?

Can someone explain why the outgoing sync status message below appears or where I can get enough information to resolve it?

com.ibm.team.repository.common.TeamRepositoryException: There is no mapping defined for value "Submitted" of property "StateResolution" in synchronization rule com.ibm.rational.clearquest.DefectTrackingInterop.Defect

From what I can tell, this error should not be appearing which means I'm missing something. What? I'm looking at mappings and don't see what the system is complaining about.

Your answer


Register or 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.