Work Item Classification and Project Hierarchy
I played a little with Work Item customisation and I think it is very usefull feature. And classifying work item with iteration and area is very good, but what if I have need to classify work item with some other thing as sector in my organization chart (treepath) or external stakeholders also organized in hierarchycal fasion.
In Team Project Settings there is "Areas and Iterations" dialog where I can edit iterations and areas, but I think that it could very useful if I can add my own classifier, like organization hierarchy, and bind it to my custom work item. Just an idea...
Well, adding a custom field to Classification.xml does create a valid process template and successfully uploads into TFS but fails at runtime. I would recommend renaming the Area element to something like "MyClassification" and add child nodes to it to define your hierarchy. Heres an example:
<?xml version="1.0" encoding="utf-8" ?>
<tasks>
<task
id="UploadStructure"
name="Creating project structure"
plugin="Microsoft.ProjectCreationWizard.Classification"
completionMessage="Project structure created.">
<taskXml>
<Nodes>
<Node StructureType="ProjectModelHierarchy" Name="MyClassification" xmlns="">
<Children>
<Node StructureType="ProjectModelHierarchy" Name="HNode1"></Node>
<Node StructureType="ProjectModelHierarchy" Name="HNode2"></Node>
</Children>
</Node>
</Nodes>
</taskXml>
</task>
</tasks>
Hope this helps alleviate the issue.
Regards,
Rahul Ohri
(Wannabe MSFT)