mappingValuesJiraToTfs xml syntax

Clark January 23, 2013

In the current release of the Configuration utility the mappingValuesJiraToTfs (and mappingValuesTfsToJira) doesn't populate.

What is the XML format for these items, so I can add them to the XML to be saved in the work item synchronizer?

1 answer

1 accepted

0 votes
Answer accepted
Andrzej Pasterczyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2013

Have you looked at the work synchronizer sample XML file in client app directory ( default: C:\Program Files (x86)\UseTFS )? It contains the sample mappings.

Basically it's a dictionary structure so for example:

<UseTfsField>
      <tfsName>System.State</tfsName>
      <jiraName>Status</jiraName>
      <limitSynchToDirection>Both</limitSynchToDirection>
      <mappingValuesTfsToJira>
        <UseTfsPigstyDictionary>
          <key>Active</key>
          <value>Open</value>
        </UseTfsPigstyDictionary>
        <UseTfsPigstyDictionary>
          <key>Resolved</key>
          <value>Resolved</value>
        </UseTfsPigstyDictionary>
        <UseTfsPigstyDictionary>
          <key>Closed</key>
          <value>Closed</value>
        </UseTfsPigstyDictionary>
      </mappingValuesTfsToJira>
      <mappingValuesJiraToTfs>
        <UseTfsPigstyDictionary>
          <key>Open</key>
          <value>Active</value>
        </UseTfsPigstyDictionary>
        <UseTfsPigstyDictionary>
          <key>In Progress</key>
          <value>Active</value>
        </UseTfsPigstyDictionary>
        <UseTfsPigstyDictionary>
          <key>Resolved</key>
          <value>Resolved</value>
        </UseTfsPigstyDictionary>
        <UseTfsPigstyDictionary>
          <key>Closed</key>
          <value>Closed</value>
        </UseTfsPigstyDictionary>
        <UseTfsPigstyDictionary>
          <key>Reopened</key>
          <value>Active</value>
        </UseTfsPigstyDictionary>
      </mappingValuesJiraToTfs>
      <defaultIfNull>true</defaultIfNull>
      <fieldDataType>TEXT</fieldDataType>
    </UseTfsField>

Suggest an answer

Log in or Sign up to answer