mappingValuesJiraToTfs xml syntax

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
Accepted answer

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

808 views 3 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you