locked
TFS Server 2012 and sharepoint 2013 problem RRS feed

  • Question

  • Hi all, I try to add a sharepoint portal to exist teamproject, bu I have a problem.

    My command is :

    tfpt.exe addprojectportal /collection:"http://servertfs:8080/tfs/DefaultCollection" /teamproject:"servizi" /processtemplate:"MSF for Agile Software Development 6.0"

    and this is the error.

    2013-07-03T12:37:59 | Module: Work Item Tracking | Thread: 10 | Processing element CommonConfiguration.
    ---begin Exception entry---
    Time: 2013-07-03T12:37:59
    Module: Engine
    Event Description: TF30162: Task "ProcessConfiguration" from Group "WorkItemTracking" failed
    Exception Type: Microsoft.TeamFoundation.Client.PcwException
    Exception Message: The following element contains an error: RequirementWorkItems. TF400517: The value of this element is set to: Microsoft.VSTS.Scheduling.StoryPoints. You must set the value to a field that exists in all of the work item types that are defined in RequirementWorkItems. The field does not exist in the following work item types: Bug, Product Backlog Item.
    The following element contains an error: TypeFields/TypeField[type='Order']. TF400517: The value of this element is set to: Microsoft.VSTS.Common.StackRank. You must set the value to a field that exists in all of the work item types that are defined in RequirementWorkItems. The field does not exist in the following work item types: Bug, Product Backlog Item.
    The following element contains an error: TaskWorkItems/States. TF400587: This element defines the states for work items that appear as tasks on your sprint backlog. Each state must exist in at least one of the work item types belong to category defined in: TaskWorkItems. The following states do not exist in any of the work item types: New, Active, Closed.
    The following element contains an error: TaskWorkItems. TF400536: This element defines the category of work item types that appear as tasks on your sprint backlog. Each work item type must support an initial state value that matches one of the states defined in: TaskWorkItems/States. The following work item types have initial states that do not include any states defined in the task board state configuration: Task.
    The following element contains an error: RequirementWorkItems/States. TF400530: This element defines the states for work items that appear on your product backlog. Each state must exist in at least one of the work item types that are defined in: RequirementWorkItems. The following states do not exist in any of the work item types: Active, Resolved, Closed.
    The following element contains an error: BugWorkItems/BugWorkItems. TF400506: This element defines the states for work items that represent Bugs or Defects. Each state must exist in at least one of the work item types that are defined in: BugWorkItems. The following states do not exist in any of the work item types: Active, Resolved, Closed.
    The following element contains an error: BugWorkItems/BugWorkItems. TF400507: Each work item type must support an initial state value that matches one of the states defined in: BugWorkItems. The following work item types have initial states that do not include any states defined in the bug state configuration: Bug.
    Stack Trace:
       at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
       at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
       at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
    --   Inner Exception   --
    Exception Message: The following element contains an error: RequirementWorkItems. TF400517: The value of this element is set to: Microsoft.VSTS.Scheduling.StoryPoints. You must set the value to a field that exists in all of the work item types that are defined in RequirementWorkItems. The field does not exist in the following work item types: Bug, Product Backlog Item.
    The following element contains an error: TypeFields/TypeField[type='Order']. TF400517: The value of this element is set to: Microsoft.VSTS.Common.StackRank. You must set the value to a field that exists in all of the work item types that are defined in RequirementWorkItems. The field does not exist in the following work item types: Bug, Product Backlog Item.
    The following element contains an error: TaskWorkItems/States. TF400587: This element defines the states for work items that appear as tasks on your sprint backlog. Each state must exist in at least one of the work item types belong to category defined in: TaskWorkItems. The following states do not exist in any of the work item types: New, Active, Closed.
    The following element contains an error: TaskWorkItems. TF400536: This element defines the category of work item types that appear as tasks on your sprint backlog. Each work item type must support an initial state value that matches one of the states defined in: TaskWorkItems/States. The following work item types have initial states that do not include any states defined in the task board state configuration: Task.
    The following element contains an error: RequirementWorkItems/States. TF400530: This element defines the states for work items that appear on your product backlog. Each state must exist in at least one of the work item types that are defined in: RequirementWorkItems. The following states do not exist in any of the work item types: Active, Resolved, Closed.
    The following element contains an error: BugWorkItems/BugWorkItems. TF400506: This element defines the states for work items that represent Bugs or Defects. Each state must exist in at least one of the work item types that are defined in: BugWorkItems. The following states do not exist in any of the work item types: Active, Resolved, Closed.
    The following element contains an error: BugWorkItems/BugWorkItems. TF400507: Each work item type must support an initial state value that matches one of the states defined in: BugWorkItems. The following work item types have initial states that do not include any states defined in the bug state configuration: Bug. (type SoapException)SoapException Details: <soap:Detail xmlns:soap="http://www.w3.org/2003/05/soap-envelope" />
    Exception Stack Trace:    at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
       at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
       at Microsoft.TeamFoundation.ProcessConfiguration.Client.ProcessConfigurationService.SetCommonConfiguration(String projectUri, CommonProjectConfiguration commonConfiguration)
       at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.ProcessConfigurationTask.Parse(Boolean fExecute)
       at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.ProcessConfigurationTask.Execute()
       at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
       at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)

    --- end Exception entry ---

    How can I solve?


    Se questo post risponde alla tua domanda ricorda di contrassegnarlo come risposta. In questo modo aiuterai altri utenti che hanno lo stesso problema a trovare la risposta più velocemente. Grazie.

    Friday, July 5, 2013 7:39 AM

Answers

  • Hi Bab,

    Thanks for your post.

    Open Team Explorer, try to create a new team project using this Agile 6.0 process template within SharePoint site, ensure this new team project(within SharePoint site) can be create correctly from Team Explorer.


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, July 8, 2013 6:48 AM
    Moderator