How to configure AccuBridge to have one Jira project mapped to two Accu

0 Likes

"PROBLEM/ABSTRACT:
How to configure AccuBridge to have one Jira project mapped to two AccuRev depots.

SOLUTION:
You can have multiple <depotMap> structures, each with the same <destinationCondition>. For example, set up two <depotMap>'s both with a 'project' EQ 'ACC' clause, but with the 'name' attribute different. The bridge will then duplicate any matching issues from JIRA into both depots.

In the reverse direction, you would need different fields to hold the change package data for the two depots (ElementVersions_depot1 and ElementVersions_depot2, for example). Otherwise the change package data will be overwritten (last one in wins).

EXAMPLE:
<depotMap name="depot_1" description="Demo development issues">
<destinationConditions>
<or>
<condition operator="EQ" fieldName="project" values="ACC"/>
</or>
</destinationConditions>
<fieldMap name="key" accuWorkName="IssueKey" primaryKey="true"/>
<fieldMap name="link" accuWorkName="IssueLink"/>
<fieldMap name="assignee" accuWorkName="assignedTo"/>
<fieldMap name="description" accuWorkName="description"/>
<fieldMap name="reporter" accuWorkName="submittedBy"/>
<fieldMap name="status" accuWorkName="Status"/>
<fieldMap name="priority" accuWorkName="Priority"/>
<fieldMap name="summary" accuWorkName="shortDescription"/>
<versionsMap name="ElementVersions_depot1"/>
</depotMap>
<depotMap name="depot_2" description="Demo development issues">
<destinationConditions>
<or>
<condition operator="EQ" fieldName="project" values="ACC"/>
</or>
</destinationConditions>
<fieldMap name="key" accuWorkName="IssueKey" primaryKey="true"/>
<fieldMap name="link" accuWorkName="IssueLink"/>
<fieldMap name="assignee" accuWorkName="assignedTo"/>
<fieldMap name="description" accuWorkName="description"/>
<fieldMap name="reporter" accuWorkName="submittedBy"/>
<fieldMap name="status" accuWorkName="Status"/>
<fieldMap name="priority" accuWorkName="Priority"/>
<fieldMap name="summary" accuWorkName="shortDescription"/>
<versionsMap name="ElementVersions_depot2"/>
</depotMap>

For more information contact AccuRev Support"

Comment List
Related
Recommended