attributeMap.xml 文件示例
以下是编辑的 attributeMap.xml 文件示例:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE AttrMap SYSTEM "attributeMap.dtd">
<AttrMap>
<SWLinkPdmMap>
<DtsPdmMap jira="Issue_Key" bugzilla="ID" pdm="RemoteID" type="String" />
<DtsPdmMap jira="Summary" bugzilla="Summary" pdm="name" type="String" />
<DtsPdmMap jira="Priority" bugzilla="Severity" pdm="theIssuePriority" type="String" />
<DtsPdmMap jira="Description" bugzilla="Description" pdm="description" type="String" />
<DtsPdmMap jira="Project" bugzilla="Product" pdm="Project" type="String" />
<DtsPdmMap jira="Components" bugzilla="Component" pdm="Component" type="String" />
<DtsPdmMap jira="AffectsVersions" bugzilla="Version" pdm="AffectedVersion" type="String" />
<DtsPdmMap jira="Status" bugzilla="Status" pdm="state" type="String" />
<DtsPdmMap jira="Task_Url" bugzilla="DEFECT_URL" pdm="Hyperlink" type="URL" />
<DtsPdmMap jira="User_Assigned" bugzilla="Assignee" pdm="Assignee" type="String" />
<DtsPdmMap jira="Due_Date" bugzilla="Deadline" pdm="Duedate" type="Timestamp" />
<DtsPdmMap jira="Environment" bugzilla="" pdm="Environment" type="String" />
<DtsPdmMap jira="Fixversions" bugzilla="cf_FixedVersion" pdm="FixVersion" type="String" />
<DtsPdmMap jira="Reporter" bugzilla="Reported" pdm="Reporter" type="String" />
<DtsPdmMap jira="Updated" bugzilla="Modified" pdm="Modified" type="String" />
<DtsPdmMap jira="Resolution" bugzilla="Resolution" pdm="Resolution" type="String" />
<DtsPdmMap jira="" bugzilla="Priority" pdm="Scheduling" type="String" />
<DtsPdmMap jira="" bugzilla="Platform" pdm="Platform" type="String" />
<DtsPdmMap jira="" bugzilla="OS" pdm="OperatingSystem" type="String" />
<DtsPdmMap jira="" bugzilla="Estimated Hours" pdm="Estimate" type="Int" />
<PdmAttributeValues>
<pdm name="theIssuePriority" />
<DtsPdmValueMap jira="Blocker" bugzilla="blocker" pdm="Emergency"/>
</PdmAttributeValues>
<PdmAttributeValues>
<pdm name="state" />
<DtsPdmValueMap jira="Open" bugzilla="New" pdm="Open" isDefault="true"/>
</PdmAttributeValues>
<PdmAttributeValues>
<pdm name="Platform" />
<DtsPdmValueMap jira="" bugzilla="All" pdm="All" isDefault="true"/>
</PdmAttributeValues>
<PdmAttributeValues>
<pdm name="OperatingSystem" />
<DtsPdmValueMap jira="" bugzilla="All" pdm="All" isDefault="true"/>
</PdmAttributeValues>
<PdmAttributeValues>
<pdm name="Resolution" />
<DtsPdmValueMap jira="Fixed" bugzilla="Fixed" pdm="Fixed"/>
</PdmAttributeValues>
</SWLinkPdmMap>
</AttrMap>