Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events