Kenneth Jørgensen
asked on
I can not create a project on TFS 2017 with Custom ProcessTemplate
I can't create a Project on TFS 2017 with a custom process template.
i get this error log from the server
The following element contains an error: PortfolioBacklog(Microsoft .EpicCateg ory)/State s. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'PortfolioBacklog(Microsof t.EpicCate gory)/Stat es'. The following state does not exist in any of the work item types: Committed, Test.
[08:09:49.777] The following element contains an error: PortfolioBacklog(Microsoft .FeatureCa tegory)/St ates. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'PortfolioBacklog(Microsof t.FeatureC ategory)/S tates'. The following state does not exist in any of the work item types: Committed, Test.
[08:09:49.777] The following element contains an error: RequirementBacklog/States. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'RequirementBacklog/States '. The following state does not exist in any of the work item types: InProgress, Test.
[08:09:49.777] The following element contains an error: TaskBacklog/States. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'TaskBacklog/States'. The following state does not exist in any of the work item types: Committed, Test.
[08:09:49.777] 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: InProgress, Test.
[08:09:49.997] Microsoft.TeamFoundation.S erver.WebA ccess.Work ItemTracki ng.Common. InvalidPro jectSettin gsExceptio n: The following element contains an error: PortfolioBacklog(Microsoft .EpicCateg ory)/State s. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'PortfolioBacklog(Microsof t.EpicCate gory)/Stat es'. The following state does not exist in any of the work item types: Committed, Test.
[08:09:49.997] The following element contains an error: PortfolioBacklog(Microsoft .FeatureCa tegory)/St ates. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'PortfolioBacklog(Microsof t.FeatureC ategory)/S tates'. The following state does not exist in any of the work item types: Committed, Test.
[08:09:49.997] The following element contains an error: RequirementBacklog/States. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'RequirementBacklog/States '. The following state does not exist in any of the work item types: InProgress, Test.
[08:09:49.997] The following element contains an error: TaskBacklog/States. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'TaskBacklog/States'. The following state does not exist in any of the work item types: Committed, Test.
[08:09:49.997] 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: InProgress, Test.
[08:09:49.997] at Microsoft.TeamFoundation.S erver.WebA ccess.Work ItemTracki ng.Common. ProcessSet tingsValid ator.Valid ate(IVssRe questConte xt requestContext, OptionalFeatures featuresToValidate, Boolean validateStructureOnly)
[08:09:49.997] at Microsoft.TeamFoundation.S erver.WebA ccess.Work ItemTracki ng.Common. ProjectCon figuration Service.Se tProcessSe ttings(IVs sRequestCo ntext requestContext, String projectUri, ProjectProcessConfiguratio n settings, Boolean skipValidation)
[08:09:49.997] at Microsoft.TeamFoundation.S erver.Depl oy.TFColle ction.Proj ect.AgileS ettingsImp orter.Impo rtProcessC onfigurati on(String configurationDefinition, ProcessDescriptor processDescriptor)
[08:09:49.997] at Microsoft.TeamFoundation.S erver.Depl oy.TFColle ction.Proj ect.AgileS ettingsImp orter.Impo rt(IVssReq uestContex t requestContext, CommonStructureProjectInfo project, IProcessTemplate template, XmlElement processData, StringBuilder log)
[08:09:49.997] at Microsoft.TeamFoundation.S erver.Serv icing.TFCo llection.W orkItemSte pPerformer .CreateTea mProject(S ervicingCo ntext servicingContext)
[08:09:49.997] at Microsoft.TeamFoundation.F ramework.S erver.Team Foundation StepPerfor merBase.Pe rformHostS tep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
[08:09:49.997] at Microsoft.TeamFoundation.F ramework.S erver.Team Foundation StepPerfor merBase.Pe rformStep( String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
[08:09:49.997] at Microsoft.TeamFoundation.F ramework.S erver.Serv icingStepD river.Perf ormServici ngStep(Ser vicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
[08:09:49.997] Step failed: Create the Team Project. Execution time: 10 seconds.
what i have done:
i createde my custom ProcessTemplate, added som new states to the different kinds og backlogs elements.
XML: for the processConfig where the change have been made,
<PortfolioBacklogs>
<PortfolioBacklog category="Microsoft.EpicCa tegory" pluralName="Epics" singularName="Epic" workItemCountLimit="1000">
<States>
<State value="New" type="Proposed" />
<State value="In Progress" type="InProgress" />
<State value="Committed" type="InProgress" />
<State value="Test" type="InProgress" />
<State value="Done" type="Complete" />
</States>
<Columns>
the bold lines is the two new states for this category, i have add more states to the other categories, done in the same way as above.
please help
i get this error log from the server
The following element contains an error: PortfolioBacklog(Microsoft
[08:09:49.777] The following element contains an error: PortfolioBacklog(Microsoft
[08:09:49.777] The following element contains an error: RequirementBacklog/States.
[08:09:49.777] The following element contains an error: TaskBacklog/States. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'TaskBacklog/States'. The following state does not exist in any of the work item types: Committed, Test.
[08:09:49.777] The following element contains an error: BugWorkItems/BugWorkItems.
[08:09:49.997] Microsoft.TeamFoundation.S
[08:09:49.997] The following element contains an error: PortfolioBacklog(Microsoft
[08:09:49.997] The following element contains an error: RequirementBacklog/States.
[08:09:49.997] The following element contains an error: TaskBacklog/States. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'TaskBacklog/States'. The following state does not exist in any of the work item types: Committed, Test.
[08:09:49.997] The following element contains an error: BugWorkItems/BugWorkItems.
[08:09:49.997] at Microsoft.TeamFoundation.S
[08:09:49.997] at Microsoft.TeamFoundation.S
[08:09:49.997] at Microsoft.TeamFoundation.S
[08:09:49.997] at Microsoft.TeamFoundation.S
[08:09:49.997] at Microsoft.TeamFoundation.S
[08:09:49.997] at Microsoft.TeamFoundation.F
[08:09:49.997] at Microsoft.TeamFoundation.F
[08:09:49.997] at Microsoft.TeamFoundation.F
[08:09:49.997] Step failed: Create the Team Project. Execution time: 10 seconds.
what i have done:
i createde my custom ProcessTemplate, added som new states to the different kinds og backlogs elements.
XML: for the processConfig where the change have been made,
<PortfolioBacklogs>
<PortfolioBacklog category="Microsoft.EpicCa
<States>
<State value="New" type="Proposed" />
<State value="In Progress" type="InProgress" />
<State value="Committed" type="InProgress" />
<State value="Test" type="InProgress" />
<State value="Done" type="Complete" />
</States>
<Columns>
the bold lines is the two new states for this category, i have add more states to the other categories, done in the same way as above.
please help
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
ASKER
I had not created the WIT that connected the new states in the Workflow.
Created them true VS2017 process tool
getting a new erro when i try to upload the updated Process Template,
Error:
---begin Exception entry---
Time: 2017-08-15T09:47:44
Module: Engine
Event Description: TF30162: Task "ProcessConfiguration" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.C
Exception Message: The 'Value' attribute is not declared.
Stack Trace:
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
-- Inner Exception --
Exception Message: The 'Value' attribute is not declared. (type XmlSchemaValidationExcepti
Exception Stack Trace: at System.Xml.Schema.XmlSchem
at System.Xml.Schema.XmlSchem
at System.Xml.Schema.XmlSchem
at System.Xml.Schema.XmlSchem
at System.Xml.XsdValidatingRe
at System.Xml.XsdValidatingRe
at System.Xml.XsdValidatingRe
at System.Xml.XsdValidatingRe
at Microsoft.TeamFoundation.P
at Microsoft.VisualStudio.Ser
at Microsoft.TeamFoundation.P
at Microsoft.VisualStudio.Ser
at Microsoft.TeamFoundation.P
at Microsoft.TeamFoundation.P
at Microsoft.TeamFoundation.P
at Microsoft.TeamFoundation.P
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
--- end Exception entry ---
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "VersionControlTask" from Group "VersionControl" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "BuildTask" from Group "Build" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "LabTask" from Group "Lab" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "TestVariable" from Group "TestManagement" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "TestConfiguration" from Group "TestManagement" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "TestSettings" from Group "TestManagement" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "TestResolutionState" from Group "TestManagement" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "SharePointPortal" from Group "Portal" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Engine | Thread: 23 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2017-08-15T09:47:44 | Module: Work Item Tracking | Thread: 22 | The following query was found in C:\Users\kenneth\Desktop\F
2017-08-15T09:47:44 | Module: Work Item Tracking | Thread: 22 | The following query folder was found: Current Sprint
2017-08-15T09:47:44 | Module: Work Item Tracking | Thread: 22 | The following query was found in C:\Users\kenneth\Desktop\F
2017-08-15T09:47:44 | Module: Work Item Tracking | Thread: 22 | The following query was found in C:\Users\kenneth\Desktop\F
2017-08-15T09:47:44 | Module: Work Item Tracking | Thread: 22 | The following query was found in C:\Users\kenneth\Desktop\F
2017-08-15T09:47:44 | Module: Work Item Tracking | Thread: 22 | The following query was found in C:\Users\kenneth\Desktop\F
2017-08-15T09:47:44 | Module: Work Item Tracking | Thread: 22 | The following query was found in C:\Users\kenneth\Desktop\F
2017-08-15T09:47:44 | Module: Work Item Tracking | Thread: 22 | QUERIES validation succeeded
2017-08-15T09:47:44 | Module: Engine | Task "Queries" from Group "WorkItemTracking" completed with success | Completion time: 0.1981345 seconds
---begin Exception entry---
Time: 2017-08-15T09:47:44
Module: Template Importer
Exception Message: TF30175: Process template validation failed (type ValidationFailedException)
Exception Stack Trace: at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
Inner Exception Details:
Exception Message: TF30162: Task "ProcessConfiguration" from Group "WorkItemTracking" failed (type TaskFailedException)
Exception Stack Trace: at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
Inner Exception Details:
Exception Message: The 'Value' attribute is not declared. (type PcwException)
Exception Stack Trace: at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
Inner Exception Details:
Exception Message: The 'Value' attribute is not declared. (type XmlSchemaValidationExcepti
Exception Stack Trace: at System.Xml.Schema.XmlSchem
at System.Xml.Schema.XmlSchem
at System.Xml.Schema.XmlSchem
at System.Xml.Schema.XmlSchem
at System.Xml.XsdValidatingRe
at System.Xml.XsdValidatingRe
at System.Xml.XsdValidatingRe
at System.Xml.XsdValidatingRe
at Microsoft.TeamFoundation.P
at Microsoft.VisualStudio.Ser
at Microsoft.TeamFoundation.P
at Microsoft.VisualStudio.Ser
at Microsoft.TeamFoundation.P
at Microsoft.TeamFoundation.P
at Microsoft.TeamFoundation.P
at Microsoft.TeamFoundation.P
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
at Microsoft.VisualStudio.Tea
--- end Exception entry ---