QC-config-reqs2stories.pxml

A configuration file used to copy QC Requirements to CA Agile Central User Stories.

<!-- **********************************************************************
FILE:    QC-config-reqs2stories.pxml

PURPOSE: A configuration file which was used to copy QC Requirements to
         Rally User Stories.

USAGE:   Replace all the "Your-..." strings below with values appropriate
         for your environment.
*********************************************************************** -->
<Config>
    <RallyConnection>
        <Url>rally1.rallydev.com</Url>
        <WorkspaceName>Your-Rally-Workspace</WorkspaceName>
        <Projects>
            <Project>Your-Rally-Project</Project>
            <Project>Your-Rally-Project</Project>
        </Projects>
        <User>Your-Rally-Username</User>
        <Password>Your-Rally-Password</Password>
        <ArtifactType>UserStory</ArtifactType>
        <ExternalIDField>Your-Rally-ExternalID</ExternalIDField>
    </RallyConnection>

    <QCConnection>
        <Url>Your-QC-URL:port</Url>
        <Domain>Your-QC-Domain</Domain>
        <Project>Your-QC-Project</Project>
        <User>Your-QC-Username</User>
        <Password>Your-QC-Password</Password>
        <ArtifactType>REQ</ArtifactType>
        <IDField>RQ_REQ_ID</IDField>
        <ExternalIDField>Your-QC-ExternalID</ExternalIDField>
        <CopySelectors>
            <CopySelector>RQ_REQ_NAME     = (WebExample1 Or WebExample2)</CopySelector>
            <CopySelector>RQ_REQ_AUTHOR   = jpqc                        </CopySelector>
            <CopySelector>RQ_REQ_REVIEWED = Not Reviewed                </CopySelector>
        </CopySelectors>
    </QCConnection>

    <Connector>
        <FieldMapping>
            <Field><Rally>Name</Rally>              <Other>RQ_REQ_NAME</Other>     </Field>
            <Field><Rally>Description</Rally>       <Other>RQ_REQ_COMMENT</Other>  </Field>
            <Field><Rally>Owner</Rally>             <Other>RQ_REQ_AUTHOR</Other>   </Field>
            <Field><Rally>Project</Rally>           <Other>RQ_USER_03</Other>      </Field>
            <Field><Rally>Release</Rally>           <Other>RQ_USER_05</Other>      </Field>
            <Field><Rally>Iteration</Rally>         <Other>RQ_USER_08</Other>      </Field>
            <Field><Rally>ScheduleState</Rally>     <Other>RQ_USER_04</Other>      </Field>
            <Field><Rally>Notes</Rally>             <Other>RQ_DEV_COMMENTS</Other> </Field>
            <Field><Rally>QCPR01Attachments</Rally> <Other>RQ_ATTACHMENT</Other>
                   <Direction>TO_RALLY</Direction>                                 </Field>
        </FieldMapping>

        <OtherFieldHandlers>
            <OtherEnumFieldHandler>
                <FieldName>RQ_USER_03</FieldName> <!-- Rally=Project, QC=RQ_USER_03 -->
                <Mappings>
                    <Field><Rally>QCproj1</Rally>   <Other></Other></Field>
                    <Field><Rally>QCproj1</Rally>   <Other>Team3</Other></Field>
                    <Field><Rally>QCproj2</Rally>   <Other>Team4</Other></Field>
                </Mappings>
            </OtherEnumFieldHandler>

            <OtherEnumFieldHandler>
                <FieldName>RQ_USER_05</FieldName> <!-- Rally=Release, QC=RQ_USER_05 -->
                <Mappings>
                    <Field><Rally>R11</Rally>       <Other>QCrel1</Other></Field>
                    <Field><Rally>R12</Rally>       <Other>QCrel2</Other></Field>
                </Mappings>
            </OtherEnumFieldHandler>

            <OtherEnumFieldHandler>
                <FieldName>RQ_USER_08</FieldName> <!-- Rally=Iteration, QC=RQ_USER_08 -->
                <Mappings>
                    <Field><Rally>Iter17</Rally>    <Other>QC Iter 2</Other></Field>
                    <Field><Rally>Iter18</Rally>    <Other>QC Iter 3</Other></Field>
                </Mappings>
            </OtherEnumFieldHandler>

            <OtherEnumFieldHandler>
                <FieldName>RQ_USER_04</FieldName> <!-- Rally=ScheduleState, QC=RQ_USER_04 -->
                <Mappings>
                    <Field><Rally>Accepted</Rally>    <Other>QC-Accepted</Other></Field>
                    <Field><Rally>Completed</Rally>   <Other>QC-Completed</Other></Field>
                    <Field><Rally>In-Progress</Rally> <Other>QC-Defined</Other></Field>
                    <Field><Rally>Defined</Rally>     <Other>QC-In-Progress</Other></Field>
                </Mappings>
            </OtherEnumFieldHandler>

            <!-- METHOD 1 for mapping Rally OWNER field to QC RQ_REQ_AUTHOR field: -->
            <OtherEnumFieldHandler>
              <FieldName>RQ_REQ_AUTHOR</FieldName>
               <Mappings>
                   <Field><Rally>[email protected]</Rally>
                          <Other>jpqc</Other></Field>
                   <Field><Rally>[email protected]</Rally>
                          <Other>jbqcuser2</Other></Field>
                   <Field><Rally>[email protected]</Rally>
                          <Other>jdqcuser3</Other></Field>
               </Mappings>
            </OtherEnumFieldHandler>

            <!-- METHOD 2 for mapping Rally OWNER field to QC RQ_REQ_AUTHOR field: -->
            <!-- Not currently used...
            <OtherUserFieldHandler>
                <FieldName>RQ_REQ_AUTHOR</FieldName>
                <Domain>test.com</Domain>
            </OtherUserFieldHandler>
            -->

            <!-- For QC 10 -->
            <QCAttachmentFieldHandler>
                <FieldName>RQ_ATTACHMENT</FieldName>
                <Path>\\vmwin2003qc10.f4tech.com\JPattach</Path>
            </QCAttachmentFieldHandler>

            <!-- For QC/ALM 11 -->
            <!-- Not currently used...
            <QCUrlAttachmentFieldHandler>
                <FieldName>RQ_ATTACHMENT</FieldName>
            </QCUrlAttachmentFieldHandler>
            -->
        </OtherFieldHandlers>

        <RallyFieldHandlers>
            <RallyReferenceFieldHandler>
                <FieldName>Project</FieldName>
            </RallyReferenceFieldHandler>

            <RallyReferenceFieldHandler>
                <FieldName>Release</FieldName>
            </RallyReferenceFieldHandler>

            <RallyReferenceFieldHandler>
                <FieldName>Iteration</FieldName>
            </RallyReferenceFieldHandler>

            <!-- METHOD 3 for mapping Rally OWNER field to QC RQ_REQ_AUTHOR field: -->
            <!-- Not currently used...
            <RallyUserFieldHandler>
                <FieldName>Owner</FieldName>
                <ReferencedFieldLookupID>MiddleName</ReferencedFieldLookupID>
            </RallyUserFieldHandler>
            -->
        </RallyFieldHandlers>
    </Connector>

    <ConnectorRunner>
        <Preview>True</Preview>
        <LogLevel>Debug</LogLevel>
        <Services>COPY_QC_TO_RALLY</Services>

        <!-- Not currently used...
        <PostServiceActions>
            <MirrorQCStoryHierarchyInRally />
        </PostServiceActions>
        -->
    </ConnectorRunner>
</Config>

 

Feedback

Need more help? The CA Agile Central Community is your one-stop shop for self-service and support. To submit feedback or cases to CA Agile Central Support, find answers, and collaborate with others, please join us in the CA Agile Central Community.