QC-config-bugReq2Rally.pxml

To copy a QC Bug, which contains a custom field containing a CA Agile Central UserStory FormattedID, to a CA Agile Central Defect such that the " Requirement " Field on the new CA Agile Central Defect will contain a pointer to the CA Agile Central UserStory.

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

PURPOSE: To copy a QC Bug, which contains a custom field containing a Rally
         UserStory FormattedID, to a Rally Defect such that the "Requirement"
         Field on the new Rally Defect will contain a pointer to the Rally
         UserStory.

DETAILS:
         1) Given a QC bug, which has a custom field (BG_USER_08) containing
            the FormattedID of a Rally UserStory (such as US412),
         2) This QC bug will be copied to a new Rally Defect,
         3) This new Rally Defect will have a clickable link (in the GUI)
            to the Rally UserStory (US412 in this example) which can be
            seen on the Defects details page, labeled as "User Story:".
         4) The text of the link will be of the form "FormattedID, Name".

SETUP:
         1) Create a UserStory in Rally (say US412).
         2) Create a custom field for QC defects, maybe like:
              - Field Name : BG_USER_08
              - Field Label: BG_USER_08_UserStory
              - Field Type : String
         3) Create a new QC bug, enter the FormattedID of the Rally
            UserStory (US412 from above) into the BG_USER_08_UserStory
            custom field.
         4) Run the QC connector using this configuration file.
         5) A new Defect will appear in Rally which has a clickable link
            to UserStory US412.

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>
        </Projects>
        <User>Your-Rally-Username</User>
        <Password>Your-Rally-Password</Password>
        <ArtifactType>Defect</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>BUG</ArtifactType>
        <IDField>BG_BUG_ID</IDField>
        <ExternalIDField>Your-QC-ExternalID</ExternalIDField>
    </QCConnection>

    <Connector>
        <FieldMapping>
            <Field><Rally>Name</Rally>       <Other>BG_SUMMARY</Other></Field>
            <Field><Rally>Requirement</Rally><Other>BG_USER_08</Other></Field>
        </FieldMapping>

        <RallyFieldHandlers>
            <RallyReferenceFieldHandler>
                <FieldName>Requirement</FieldName>
                <ReferencedFieldLookupID>FormattedID</ReferencedFieldLookupID>
            </RallyReferenceFieldHandler>
        </RallyFieldHandlers>
    </Connector>

    <ConnectorRunner>
        <Preview>True</Preview>
        <LogLevel>Debug</LogLevel>
        <Services>COPY_QC_TO_RALLY</Services>
    </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.