This is a migrated thread and some comments may be shown as answers.

TFS 2013 and sync issue

3 Answers 65 Views
TFS Integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jelly Master
Top achievements
Rank 1
Jelly Master asked on 28 Jan 2014, 01:19 PM
Hi Guys,

I am trialling Team Pulse at the moment and have just created an evaluation project with one work item using the "Microsoft Visual Studio Scrum 2013"

I have used your Scrum 2012 template as the team pulse equivalent but when trying to do the first sync I get these errors:

​Settings are not valid.  Please review the following 2 errors:


 [TTP20005]  The allowed transitions for the Status/State field for the TeamPulse 'Story' entity and the TFS 'Product Backlog Item' work item type do not match.
Only in TeamPulse: (none)
Only in TFS: From="Approved" To="Done", From="Approved" To="New", From="Committed" To="New", From="Done" To="Approved", From="Done" To="New"
 [TTP20005]  The allowed transitions for the Status/State field for the TeamPulse 'Bug' entity and the TFS 'Bug' work item type do not match.
Only in TeamPulse: (none)
Only in TFS: From="Approved" To="Done", From="Approved" To="New", From="Committed" To="New", From="Done" To="Approved", From="Done" To="New"

Now I am new to Team Pulse and the links give me 404 error's (I presume this is to do with you reorganizing the website)

So can you provide any assistance with a solution on how to fix it.

Also is the Scrum 2012 template the best template to use for the TFS template we have selected? 


3 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 29 Jan 2014, 03:18 PM
Hi David,

Sorry for experiencing issues using TeamPulse.

As I can see from the error in your post the allowed transitions in the TeamPulse and TFS for 'Story' and 'Bug' does not match. You need to add the transitions in your Project Advanced Settings. As i see from the error these are the missing transitions.

<Transitions>
  <Transition From="Approved" To="Done" />
  <Transition From="Approved" To="New" />
  <Transition From="Committed" To="New" />
  <Transition From="Done" To="Approved" />
  <Transition From="Done" To="New" />
</Transitions>

You can read more about Editing TeamPulse Advanced Project Settings.

If you need more information, do not hesitate to contact us again.

Regards,
Ivan
Telerik
0
Jelly Master
Top achievements
Rank 1
answered on 29 Jan 2014, 04:52 PM
Hi Ivan,

Thanks for the info.

I eventually managed to get this working by copying entire sections out of a project that seemed to be working correctly.

I think the problem is that I had created the team pulse project before the TFS project and this is where the mis-match between the entity mappings occurred.

After I had fixed the first section the bug section did not work so I had to copy this block:

​ <EntityDefinition EntityTypeName="Bug">
      <CustomFieldReferences />
      <Workflow>
        <Statuses>
          <string>Done</string>
          <string>Removed</string>
          <string>New</string>
          <string>Approved</string>
          <string>Committed</string>
        </Statuses>
        <Transitions>
          <Transition From="New" To="Done" />
          <Transition From="Approved" To="Done" />
          <Transition From="Committed" To="Done" />
          <Transition From="New" To="Removed" />
          <Transition From="Approved" To="Removed" />
          <Transition From="" To="New" />
          <Transition From="Done" To="New" />
          <Transition From="Removed" To="New" />
          <Transition From="Approved" To="New" />
          <Transition From="Committed" To="New" />
          <Transition From="Done" To="Approved" />
          <Transition From="New" To="Approved" />
          <Transition From="Committed" To="Approved" />
          <Transition From="Done" To="Committed" />
          <Transition From="New" To="Committed" />
          <Transition From="Approved" To="Committed" />
        </Transitions>
        <UnexecutedStatuses>New</UnexecutedStatuses>
        <InProgressStatuses>Approved,Committed</InProgressStatuses>
        <DoneStatuses>Done</DoneStatuses>
        <ExcludedStatuses>Removed</ExcludedStatuses>
      </Workflow>
      <Rules>
        <Rule xsi:type="RequiredRule" IsActive="true" IsValidationRule="true" FieldName="Name" />
        <Rule xsi:type="DefaultValueRule" IsActive="true" IsValidationRule="false" FieldName="Priority" DefaultValue="1000" />
        <Rule xsi:type="DefaultValueRule" IsActive="true" IsValidationRule="false" FieldName="Severity" DefaultValue="3 - Medium" />
        <Rule xsi:type="AllowedValuesRule" IsActive="true" IsValidationRule="true" FieldName="Severity" AllowNull="false">
          <AllowedValues>
            <string>1 - Critical</string>
            <string>2 - High</string>
            <string>3 - Medium</string>
            <string>4 - Low</string>
          </AllowedValues>
        </Rule>
      </Rules>
      <FieldColorMappings>
        <FieldColorMapping xsi:type="FieldValueToColorMapping" FieldName="Severity">
          <ValueToColorMappings>
            <ValueToColorMapping Color="#FF0000" Value="1 - Critical" />
            <ValueToColorMapping Color="#AC0F30" Value="2 - High" />
            <ValueToColorMapping Color="#FF9900" Value="3 - Medium" />
            <ValueToColorMapping Color="#F9EF47" Value="4 - Low" />
          </ValueToColorMappings>
        </FieldColorMapping>
      </FieldColorMappings>
      <SeverityValueToPrioritizationPrefixMappings>
        <SeverityValueToPrioritizationPrefixMapping Prefix="1" Value="1 - Critical" />
        <SeverityValueToPrioritizationPrefixMapping Prefix="2" Value="2 - High" />
        <SeverityValueToPrioritizationPrefixMapping Prefix="3" Value="3 - Medium" />
        <SeverityValueToPrioritizationPrefixMapping Prefix="4" Value="4 - Low" />
      </SeverityValueToPrioritizationPrefixMappings>
    </EntityDefinition>

To get it to work.

Thanks again for the reply. 
0
Ivan
Telerik team
answered on 30 Jan 2014, 08:16 AM
Hi David,

I'm glad that the information was helpful and you have managed to resolve your issue.

If you need further assistance, feel free to write us at any time.

Regards,
Ivan
Telerik
Tags
TFS Integration
Asked by
Jelly Master
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Jelly Master
Top achievements
Rank 1
Share this question
or