Jira-config-us2task.pxml

A configuration file used to copy CA Agile Central User Stories to JIRA Tasks.

Below are two sections relating to this JIRA connector run:

  1. The sample configuration file
  2. Log file output from connector run

The Sample Configuration File

<!-- **********************************************************************
FILE:    Jira-config-us2task.pxml

PURPOSE: A configuration file which was used to copy Rally UserStories to
         JIRA Tasks.

USAGE:   Replace all the "Your-..." strings below with values appropriate
         for your environment.
*********************************************************************** -->
<Config>
    <RallyConnection>
        <Url>Your-Rally-URL</Url>
        <WorkspaceName>Your-Rally-Workspace</WorkspaceName>
        <Projects>
            <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>

    <JiraConnection>
        <Url>Your-JIRA-URL</Url>
        <User>Your-JIRA-Username</User>
        <Password>Your-JIRA-Password</Password>
        <ArtifactType>Task</ArtifactType>
        <ExternalIDField>Your-JIRA-ExternalID</ExternalIDField>
        <Project>Your-JIRA-Project</Project>
        <FieldDefaults>
            <Field><Name>Severity</Name>  <Default>Critical</Default></Field>
        </FieldDefaults>
    </JiraConnection>

    <Connector>
        <FieldMapping>
            <Field><Rally>Name</Rally>        <Other>Summary</Other></Field>
            <Field><Rally>Description</Rally> <Other>Description</Other></Field>
            <Field><Rally>Owner</Rally>       <Other>Reporter</Other></Field>
        </FieldMapping>

        <OtherFieldHandlers>
            <OtherEnumFieldHandler>
                <FieldName>Reporter</FieldName>
                <Mappings>
                    <Field><Rally>[email protected]</Rally>  <Other>jpkole</Other></Field>
                </Mappings>
            </OtherEnumFieldHandler>
        </OtherFieldHandlers>
    </Connector>

    <ConnectorRunner>
        <Preview>True</Preview>
        <LogLevel>Debug</LogLevel>
        <Services>COPY_RALLY_TO_JIRA</Services>
    </ConnectorRunner> 
</Config>

Log File Output from Connector Run

**************************************************************************************************
     rally2_jira_connector
         pid: 8146   
         starting at: 2013-01-08 18:23:24 Z
         cwd: /Volumes/jpkole/Rally-Connectors/JIRA/rundir
         configs: JIRA-config-us2task.xml
         interval: -1
**************************************************************************************************

[2013-01-08 18:23:24 Z]   ANY : ConnectorRunner.block in run - processing to commence using content from JIRA-config-us2task.xml
[2013-01-08 18:23:24 Z]   ANY : Class.read_config_file - JIRA-config-us2task.pxml last modified 2013-01-08 18:23:22 UTC, size: 1527 chars
[2013-01-08 18:23:24 Z]   ANY : RallyConnection.initialize - Initializing Rally connection version 2.8.8
[2013-01-08 18:23:24 Z]  INFO : RallyConnection.initialize - Rally Web Services version 1.16
[2013-01-08 18:23:24 Z]   ANY : JiraConnection.initialize - Initializing JIRA connection version 2.8.8
[2013-01-08 18:23:24 Z]  INFO : Class.read_workflow_file - jira_workflow.xml
[2013-01-08 18:23:24 Z]  INFO : Connector.initialize - Ruby platform x86_64-darwin11.3.0
[2013-01-08 18:23:24 Z]  INFO : Connector.initialize - Ruby version 1.9.2
[2013-01-08 18:23:24 Z]  INFO : JiraConnection.connect - Connecting to JIRA at Your-JIRA-URL as user tester1
[2013-01-08 18:23:25 Z] DEBUG : Finding method getServerInfo
[2013-01-08 18:23:25 Z]  INFO : JiraConnection.connect - Connected to JIRA at Your-JIRA-URL, (version 6.0-OD-02)
[2013-01-08 18:23:25 Z] DEBUG : Finding method getGroup
[2013-01-08 18:23:25 Z] DEBUG : Finding method getGroup
[2013-01-08 18:23:25 Z] DEBUG : Finding method getIssueTypes
[2013-01-08 18:23:25 Z] DEBUG : JiraConnection.connect - Collected JIRA issue types
[2013-01-08 18:23:25 Z] DEBUG : Finding method getCustomFields
[2013-01-08 18:23:25 Z] DEBUG : JiraConnection.connect - Collected JIRA custom fields
[2013-01-08 18:23:25 Z] DEBUG : Finding method getStatuses
[2013-01-08 18:23:25 Z] DEBUG : Finding method getPriorities
[2013-01-08 18:23:25 Z] DEBUG : Finding method getResolutions
[2013-01-08 18:23:25 Z]  INFO : RallyConnection.connect - Connecting to Rally at https://rally1.rallydev.com/slm as user [email protected]
[2013-01-08 18:23:26 Z] DEBUG : RallyConnection.connect - Looking up workspace - Workspace Playground
[2013-01-08 18:23:27 Z] DEBUG : RallyConnection.connect - Looking up projects
[2013-01-08 18:23:27 Z]  INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: JP's Workspace Playground
[2013-01-08 18:23:27 Z]  INFO : RallyConnection.connect -   Projects: PR01
[2013-01-08 18:23:27 Z]  INFO : Connector.validate - Beginning validation
[2013-01-08 18:23:27 Z] DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
[2013-01-08 18:23:27 Z] DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
[2013-01-08 18:23:27 Z] DEBUG : RallyConnection.validate - Rally Connection - artifact type "userstory" validated
[2013-01-08 18:23:29 Z]  WARN : RallyConnection.check_for_warnings - <Warnings>
    <OperationResultWarning>API status is Deprecated and will become Not Supported on 10/01/13</OperationResultWarning>
  </Warnings>
[2013-01-08 18:23:30 Z] DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
[2013-01-08 18:23:30 Z] DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "JIRAPR01ExtID" validated
[2013-01-08 18:23:30 Z] DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
[2013-01-08 18:23:30 Z] DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
[2013-01-08 18:23:30 Z] DEBUG : Connector.validate - RallyConnection validate succeeded
[2013-01-08 18:23:30 Z] DEBUG : JiraConnection.validate - JIRA Connection - user entry "tester1" detected in config file
[2013-01-08 18:23:30 Z] DEBUG : JiraConnection.validate - JIRA Connection - password entry detected in config file
[2013-01-08 18:23:30 Z] DEBUG : JiraConnection.validate - JIRA Connection - artifact type "task" validated
[2013-01-08 18:23:30 Z] DEBUG : JiraConnection.validate - JIRA Connection - IDField entry "key" validated
[2013-01-08 18:23:30 Z] DEBUG : JiraConnection.validate - JIRA Connection - ExternalIDField entry "RallyID" validated
[2013-01-08 18:23:30 Z] DEBUG : JiraConnection.validate - JIRA Connection - FieldHandler target fields existence validated
[2013-01-08 18:23:30 Z] DEBUG : JiraConnection.validate - JIRA Connection - Field Defaults settings validated
[2013-01-08 18:23:30 Z] DEBUG : Connector.validate - JIRA Connection validate succeeded
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in validate - JIRA Connection field_mapping target "Summary" existence validated
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in validate - JIRA Connection field_mapping target "Description" existence validated
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Owner" existence validated
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in validate - JIRA Connection field_mapping target "Reporter" existence validated
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in validate - JIRA Connection field_handler validation for "Reporter" succeeded
[2013-01-08 18:23:30 Z]  INFO : Connector.validate - Validation complete
[2013-01-08 18:23:30 Z]   ANY : ConnectorRunner.run_services - Last Run 2013-01-08 17:48:11 UTC  --- Now 2013-01-08 18:23:30 UTC
[2013-01-08 18:23:30 Z]   ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_JIRA
[2013-01-08 18:23:30 Z]  INFO : RallyConnection.find_new - Find New Rally userstorys
[2013-01-08 18:23:30 Z]  INFO : RallyConnection.find_new - find_new query: JIRAPR01ExtID = "" and Project = PR01
[2013-01-08 18:23:30 Z]  WARN : RallyConnection.check_for_warnings - <Warnings>
    <OperationResultWarning>API status is Deprecated and will become Not Supported on 10/01/13</OperationResultWarning>
  </Warnings>
[2013-01-08 18:23:30 Z]  INFO : RallyConnection.find_new -   Found 1 new userstorys in Rally
[2013-01-08 18:23:30 Z]  INFO : Connector.copy_to_other - Copy US413 to JIRA
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in map_fields_to_other -   Mapping Name(YoYo) - to - Summary(YoYo)
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc for US413) - to - Description(Desc for US413)
[2013-01-08 18:23:30 Z] DEBUG : Connector.block in map_fields_to_other -   Mapping Owner([email protected]) - to - Reporter(jpkole)
[2013-01-08 18:23:30 Z] DEBUG : Finding method createIssue
[2013-01-08 18:23:31 Z]  INFO : RallyConnection.update_internal -   Updating US413
[2013-01-08 18:23:31 Z]  INFO : Connector.copy_to_other - Rally userstory US413 copied to JIRA task PROJ-40
[2013-01-08 18:23:31 Z]   ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_JIRA
[2013-01-08 18:23:31 Z] DEBUG : Finding method logout
[2013-01-08 18:23:31 Z]  INFO : JiraConnection.disconnect - Disconnected from JIRA
[2013-01-08 18:23:31 Z]   ANY : ConnectorRunner.run_services - time file written with value of 2013-01-08 18:23:30 UTC
[2013-01-08 18:23:31 Z]   ANY : ConnectorRunner.block in log_service_statistics - JIRA-config-us2task.xml: 1 items copied from Rally to Jira 
[2013-01-08 18:23:31 Z]   ANY : ConnectorRunner.log_service_statistics - JIRA-config-us2task.xml: service run took 7 seconds

 

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.