workitem type
![](http://jazz.net/_images/myphoto/21f6ddf1f06d6ce53ad294b7110314ae.jpg)
3 answers
![](http://jazz.net/_images/myphoto/21f6ddf1f06d6ce53ad294b7110314ae.jpg)
What you want to do violates the intended use of an external repository manager in the Item Connector framework. An external repository manager is fed data that has already been transformed into the domain of the external system. The manager just has to apply the data. It should neither know nor care what the source of the data was. Synchronization rules define how the data is transformed between the external domain and the Jazz domain.
For example, here is how the mapping between work item types and CQ record types works for the CQ Connector. Let's say you have a work item type named "Defect". That will be one of the possible values for the "Type" property of a work item. In CQ, the corresponding field name is "record_type". Let's say that the CQ schema has a record type named "BugReport" that you want to connect to Defect work items. You would create a synchronization rule that says that "Type" maps to "record_type", and the value "Defect" maps to "BugReport". Then, when a Defect work item is synchronized out to CQ, the external repository manager will receive data for the CQ record that includes the property "record_type", with value "BugReport". Hence, it has no need to know what the work item type was.
Can you explain why you think you need to determine the work item type?
John
Jazz ClearQuest Connector Team
For example, here is how the mapping between work item types and CQ record types works for the CQ Connector. Let's say you have a work item type named "Defect". That will be one of the possible values for the "Type" property of a work item. In CQ, the corresponding field name is "record_type". Let's say that the CQ schema has a record type named "BugReport" that you want to connect to Defect work items. You would create a synchronization rule that says that "Type" maps to "record_type", and the value "Defect" maps to "BugReport". Then, when a Defect work item is synchronized out to CQ, the external repository manager will receive data for the CQ record that includes the property "record_type", with value "BugReport". Hence, it has no need to know what the work item type was.
Can you explain why you think you need to determine the work item type?
John
Jazz ClearQuest Connector Team