JIRArest-Labels-to-Tags.pxml

The following configuration file will copy and update Rally Tags with JIRA Labels (both directions). Caveats:

  1. If all Labels are removed from a JIRA artifact, the update will not remove all Tags from the corresponding Rally artifact, due to the fact that the connector (by design) will not write "null" (empty string) into a field. A recommended work-around is to have a "dummy" Label which is never removed from artifacts, and this would allow other Labels to be added and removed at will.

Configuration file JIRArest-Labels-To-Tags.pxml

<config>
    <RallyConnection>
        <Url>rally1.rallydev.com</Url>
        <WorkspaceName>Acme</WorkspaceName>
        <Projects>
            <Project>Team1</Project>
        </Projects>
        <User>[email protected]</User>
        <Password>encoded-x-x-x-x-x-x-x-x-x-x-x-=-</Password>
        <ArtifactType>Story</ArtifactType>
        <ExternalIDField>ExternalID</ExternalIDField>
        <SuppressDeprecationWarning />
    </RallyConnection>

    <JiraRestConnection>
        <Url>https://youraccount.atlassian.net</Url>
        <User>[email protected]</User>
        <Password>encoded-x-x-x-x-x-x-x-x-x-x-x-=-</Password>
        <ArtifactType>Story</ArtifactType>
        <Project>PROJ1</Project>
        <ExternalIDField>RallyObjectID</ExternalIDField>
        <ExternalEndUserIDField>RallyFormattedID</ExternalEndUserIDField>
    </JiraRestConnection>

    <Connector>
        <FieldMapping>
            <Field><Rally>Name</Rally>  <Other>Summary</Other></Field>
            <Field><Rally>Tags</Rally>  <Other>Labels</Other></Field>
        </FieldMapping>

        <RallyFieldHandlers>
            <RallyKeyword2TagFieldHandler>
                <Type>String</Type>
                <Delimiter>,</Delimiter>
            </RallyKeyword2TagFieldHandler>      
        </RallyFieldHandlers>
    </Connector>

    <ConnectorRunner>
        <Preview>false</Preview>
        <LogLevel>DEBUG</LogLevel>
        <Services>COPY_JIRA_TO_RALLY,
                  UPDATE_JIRA_TO_RALLY,
                  COPY_RALLY_TO_JIRA,
                  UPDATE_RALLY_TO_JIRA</Services>
    </ConnectorRunner>
</config>

Feedback

Benötigen Sie weitere Informationen? Die CA Agile Central-Community ist Ihre zentrale Anlaufstelle für Self-Service und Support. Treten Sie der CA Agile Central-Community bei, um dem CA Agile Central-Support Feedback mitzuteilen oder Fälle zu melden, Antworten zu finden oder mit anderen Benutzern zusammenzuarbeiten.