tfstfs-2015states

TFS 2015 Web Portal On-Premises Backlogs not listing WI with custom states


I've customised a copy of the TFS 2015 default Scrum Process Template which I'm using for my Team Project. Apart from a GUID and name change in the ProcessTemplate.xml, I've only amended the "WorkItem Tracking\TypeDefinitions\ ProductBacklogItem.xml " file.

Included in the ProductBacklogItem.xml, I've added three new States and the workflow in Visual Studio 2015 and TFS WebPortal works as intended.

PROBLEM

In my Team Project via TFS WebPortal, WORK|Backlog main window, are a list of Product Backlog Items (WI) in various States. The Work Items passing through my customised workflow also get listed until they're in one of my customised new states - then they just disappear until brought back into a standard State.

QUESTION

How can I get WI's in a customised state to also be listed in Backlog? Where is it's query set?

Yes, will work by creating a query, but the business relies on this.

I've identified the "WorkItem Tracking\Process\ ProcessConfiguration.xml " file but errors when uploading via witadmin importprocessconfig tool on the existing Epic WorkItemColor element if I make changes or not.


Solution

  • Update the RequirementBacklog section of ProcessConfiguration definition for the WIT you're adding. Specifically, make sure that the following conditions are met:

    • Map the start of each workflow state to type="Proposed"
    • Map each intermediate workflow state you want to have show up on the Kanban board to type="InProgress"
    • Map the end of each workflow state to type="Complete"
    • Make sure that you have only one State mapped to type="Complete"

    For example, add the Pending workflow state:

      <States>
        <State value="New" type="Proposed" />
        <State value="Active" type="InProgress" />
        <State value="Pending" type="InProgress" />
        <State value="Resolved" type="InProgress" />
        <State value="Closed" type="Complete" />
      </States>