workitem type
I am coding for external repository manager.Can someone help to get work item type through code .
Thanks |
3 answers
I am coding for external repository manager.Can someone help to get You find the related methods in IWorkItemClient/IWorkItemCommon, e.g. IWorkItemClient#findWorkItemTypes(projectArea, monitor) -- Regards, Patrick Jazz Work Item Team |
Thanx for quick reply but i could see that my method i need is workItem.getWorkItemType(); and since my application is jazz server extension i couldnt get how to get reference for IWorkitem.
|
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 |
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.