从2012年升级到TFS 2018.2 Backlogs已被破坏

时间:2018-06-06 13:45:18

标签: tfs upgrade

我们最近将我们的TFS 2012内部服务器升级到TFS 2018.2。事情大部分都在起作用,但是任何具有自定义状态/转换的项目在尝试打开Backlogs页面时都会导致错误。它抱怨的问题与Bugs有关。我们更换了一个" Complete"处于关闭状态的州。

我得到的错误是: TF400917:当前配置对此功能无效。在更正配置之前,无法使用此功能。 了解有关如何更正配置的信息 有关验证错误的详细信息如下所示: 以下元素包含错误:RequirementBacklog / States。 TF401098:此元素定义待办事项中显示的工作项的状态。状态配置不正确。此待办事项上的每个工作项必须具有一个类型为“完成”的状态。以下工作项类型没有任何类型为'完成':Bug。

的状态

我尝试过的步骤:
1)在VS中使用TFS Process Template编辑器,我将Closed状态更改为Complete。没有成功。
2)我试图使用witadmin导出processconfig。我得到的文件根本没有任何错误部分。因此,在线使用示例,我尝试添加它,但它抱怨文件中的其他部分不完整。另外,如果我导出进程配置然后立即尝试导入它,它就会失败抱怨未指定singleName和其他问题。如果有帮助的话,我会附上导出文件时得到的文件。

<?xml version="1.0" encoding="utf-8"?>
<ProjectProcessConfiguration>
  <FeedbackRequestWorkItems category="Microsoft.FeedbackRequestCategory" pluralName="Feedback Requests">
    <States>
      <State type="InProgress" value="Active" />
      <State type="Complete" value="Closed" />
    </States>
  </FeedbackRequestWorkItems>
  <FeedbackResponseWorkItems category="Microsoft.FeedbackResponseCategory" pluralName="Feedback Responses">
    <States>
      <State type="InProgress" value="Active" />
      <State type="Complete" value="Closed" />
    </States>
  </FeedbackResponseWorkItems>
  <RequirementBacklog category="Microsoft.RequirementCategory" pluralName="Backlog items" workItemCountLimit="500">
    <AddPanel>
      <Fields>
        <Field refname="System.Title" />
      </Fields>
    </AddPanel>
    <Columns>
      <Column width="400" refname="System.Title" />
      <Column width="100" refname="System.State" />
      <Column width="50" refname="Microsoft.VSTS.Scheduling.Effort" />
      <Column width="200" refname="System.IterationPath" />
      <Column width="200" refname="System.Tags" />
    </Columns>
    <States>
      <State type="Proposed" value="New" />
      <State type="Proposed" value="Approved" />
      <State type="InProgress" value="Committed" />
      <State type="Complete" value="Done" />
    </States>
  </RequirementBacklog>
  <TaskBacklog category="Microsoft.TaskCategory" workItemCountLimit="500">
    <AddPanel />
    <Columns>
      <Column width="50" refname="Microsoft.VSTS.Scheduling.Effort" />
      <Column width="400" refname="System.Title" />
      <Column width="100" refname="System.State" />
      <Column width="100" refname="System.AssignedTo" />
      <Column width="50" refname="Microsoft.VSTS.Scheduling.RemainingWork" />
    </Columns>
    <States>
      <State type="Proposed" value="To Do" />
      <State type="InProgress" value="In Progress" />
      <State type="Complete" value="Done" />
    </States>
  </TaskBacklog>
  <TypeFields>
    <TypeField refname="Microsoft.VSTS.Common.Activity" type="Activity" />
    <TypeField refname="Microsoft.VSTS.Common.BacklogPriority" type="Order" />
    <TypeField refname="Microsoft.VSTS.Feedback.ApplicationLaunchInstructions" type="ApplicationLaunchInstructions" />
    <TypeField refname="Microsoft.VSTS.Feedback.ApplicationStartInformation" type="ApplicationStartInformation" />
    <TypeField refname="Microsoft.VSTS.Feedback.ApplicationType" type="ApplicationType">
      <TypeFieldValues>
        <TypeFieldValue type="ClientApp" value="Client application" />
        <TypeFieldValue type="RemoteMachine" value="Remote machine" />
        <TypeFieldValue type="WebApp" value="Web application" />
      </TypeFieldValues>
    </TypeField>
    <TypeField refname="Microsoft.VSTS.Scheduling.Effort" type="Effort" />
    <TypeField format="{0} h" refname="Microsoft.VSTS.Scheduling.RemainingWork" type="RemainingWork" />
    <TypeField refname="System.AreaPath" type="Team" />
  </TypeFields>
  <Weekends>
    <DayOfWeek>Sunday</DayOfWeek>
    <DayOfWeek>Saturday</DayOfWeek>
  </Weekends>
  <Properties>
    <Property name="BugsBehavior" value="Off" />
  </Properties>
</ProjectProcessConfiguration>

我是2018年世界的新手,似乎无法解决这个问题,任何建议都会有所帮助。

添加我的错误工作项定义:

<?xml version="1.0" encoding="utf-8"?>
<witd:WITD application="Work item type editor" version="1.0" xmlns:witd="http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/typedef">
  <WORKITEMTYPE name="Bug">
    <DESCRIPTION>Describes a divergence between required and actual behavior, and tracks the work done to correct the defect and verify the correction.</DESCRIPTION>
    <FIELDS>
      <FIELD name="Iteration Path" refname="System.IterationPath" type="TreePath" reportable="dimension" />
      <FIELD name="Iteration ID" refname="System.IterationId" type="Integer" />
      <FIELD name="External Link Count" refname="System.ExternalLinkCount" type="Integer" />
      <FIELD name="Team Project" refname="System.TeamProject" type="String" reportable="dimension" />
      <FIELD name="Hyperlink Count" refname="System.HyperLinkCount" type="Integer" />
      <FIELD name="Attached File Count" refname="System.AttachedFileCount" type="Integer" />
      <FIELD name="Node Name" refname="System.NodeName" type="String" />
      <FIELD name="Area Path" refname="System.AreaPath" type="TreePath" reportable="dimension" />
      <FIELD name="Revised Date" refname="System.RevisedDate" type="DateTime" reportable="detail" />
      <FIELD name="Changed Date" refname="System.ChangedDate" type="DateTime" reportable="dimension" />
      <FIELD name="ID" refname="System.Id" type="Integer" reportable="dimension" />
      <FIELD name="Area ID" refname="System.AreaId" type="Integer" />
      <FIELD name="Authorized As" refname="System.AuthorizedAs" type="String" syncnamechanges="true" />
      <FIELD name="Title" refname="System.Title" type="String" reportable="dimension">
        <REQUIRED />
      </FIELD>
      <FIELD name="State" refname="System.State" type="String" reportable="dimension" />
      <FIELD name="Authorized Date" refname="System.AuthorizedDate" type="DateTime" />
      <FIELD name="Watermark" refname="System.Watermark" type="Integer" />
      <FIELD name="Rev" refname="System.Rev" type="Integer" reportable="dimension" />
      <FIELD name="Changed By" refname="System.ChangedBy" type="String" syncnamechanges="true" reportable="dimension" />
      <FIELD name="Reason" refname="System.Reason" type="String" reportable="dimension" />
      <FIELD name="Assigned To" refname="System.AssignedTo" type="String" syncnamechanges="true" reportable="dimension">
        <ALLOWEXISTINGVALUE />
        <VALIDUSER />
      </FIELD>
      <FIELD name="Work Item Type" refname="System.WorkItemType" type="String" reportable="dimension" />
      <FIELD name="Created Date" refname="System.CreatedDate" type="DateTime" reportable="dimension" />
      <FIELD name="Created By" refname="System.CreatedBy" type="String" syncnamechanges="true" reportable="dimension" />
      <FIELD name="Description" refname="System.Description" type="HTML" />
      <FIELD name="History" refname="System.History" type="History" />
      <FIELD name="Related Link Count" refname="System.RelatedLinkCount" type="Integer" />
      <FIELD name="Tags" refname="System.Tags" type="PlainText" />
      <FIELD name="Board Column" refname="System.BoardColumn" type="String" reportable="dimension" />
      <FIELD name="Board Column Done" refname="System.BoardColumnDone" type="Boolean" reportable="dimension" />
      <FIELD name="Board Lane" refname="System.BoardLane" type="String" reportable="dimension" />
      <FIELD name="Remaining Work" refname="Microsoft.VSTS.Scheduling.RemainingWork" type="Double" reportable="measure" formula="sum" />
      <FIELD name="Backlog Priority" refname="Microsoft.VSTS.Common.BacklogPriority" type="Double" reportable="detail" />
      <FIELD name="Integration Build" refname="Microsoft.VSTS.Build.IntegrationBuild" type="String" reportable="dimension">
        <SUGGESTEDVALUES expanditems="true">
          <LISTITEM value="&lt;None&gt;" />
        </SUGGESTEDVALUES>
        <SUGGESTEDVALUES expanditems="true" filteritems="excludegroups">
          <GLOBALLIST name="Builds - WHCRT" />
        </SUGGESTEDVALUES>
      </FIELD>
      <FIELD name="Closed Date" refname="Microsoft.VSTS.Common.ClosedDate" type="DateTime" reportable="dimension">
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>
      <FIELD name="System Info" refname="Microsoft.VSTS.TCM.SystemInfo" type="HTML" />
      <FIELD name="Repro Steps" refname="Microsoft.VSTS.TCM.ReproSteps" type="HTML" />
      <FIELD name="Effort" refname="Microsoft.VSTS.Scheduling.Effort" type="Double" reportable="measure" formula="sum" />
      <FIELD name="Acceptance Criteria" refname="Microsoft.VSTS.Common.AcceptanceCriteria" type="HTML" />
      <FIELD name="Severity" refname="Microsoft.VSTS.Common.Severity" type="String" reportable="dimension">
        <ALLOWEDVALUES expanditems="true">
          <LISTITEM value="1 - Critical" />
          <LISTITEM value="2 - High" />
          <LISTITEM value="3 - Medium" />
          <LISTITEM value="4 - Low" />
        </ALLOWEDVALUES>
        <DEFAULT from="value" value="3 - Medium" />
      </FIELD>
      <FIELD name="Found In" refname="Microsoft.VSTS.Build.FoundIn" type="String" reportable="dimension">
        <SUGGESTEDVALUES expanditems="true">
          <LISTITEM value="&lt;None&gt;" />
        </SUGGESTEDVALUES>
        <SUGGESTEDVALUES expanditems="true" filteritems="excludegroups">
          <GLOBALLIST name="Builds - WHCRT" />
        </SUGGESTEDVALUES>
      </FIELD>
    </FIELDS>
    <WORKFLOW>
      <STATES>
        <STATE value="Closed" />
        <STATE value="In Progress" />
        <STATE value="In-Progress - QA" />
        <STATE value="New">
          <FIELDS>
            <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
              <EMPTY />
            </FIELD>
          </FIELDS>
        </STATE>
        <STATE value="QA Failed" />
        <STATE value="Ready For QA" />
      </STATES>
      <TRANSITIONS>
        <TRANSITION from="" to="New">
          <REASONS>
            <DEFAULTREASON value="New defect reported" />
            <REASON value="Build Failure" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="In-Progress - QA" to="QA Failed">
          <REASONS>
            <DEFAULTREASON value="Bug not resolved, see Notes" />
          </REASONS>
          <FIELDS>
            <FIELD refname="System.AssignedTo">
              <ALLOWEXISTINGVALUE />
              <EMPTY />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="Ready For QA" to="In-Progress - QA">
          <REASONS>
            <DEFAULTREASON value="Testing Bug" />
          </REASONS>
          <FIELDS>
            <FIELD refname="System.AssignedTo">
              <COPY from="currentuser" />
            </FIELD>
          </FIELDS>
        </TRANSITION>
        <TRANSITION from="In-Progress - QA" to="Closed">
          <REASONS>
            <DEFAULTREASON value="Fix verified">
              <FIELDS>
                <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
                  <COPY from="clock" />
                </FIELD>
              </FIELDS>
            </DEFAULTREASON>
            <REASON value="Confirmed not a bug">
              <FIELDS>
                <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
                  <COPY from="clock" />
                </FIELD>
              </FIELDS>
            </REASON>
          </REASONS>
        </TRANSITION>
        <TRANSITION from="New" to="Closed">
          <REASONS>
            <DEFAULTREASON value="Not a Bug">
              <FIELDS>
                <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
                  <COPY from="clock" />
                </FIELD>
              </FIELDS>
            </DEFAULTREASON>
            <REASON value="Old System - Closing bug">
              <FIELDS>
                <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
                  <COPY from="clock" />
                </FIELD>
              </FIELDS>
            </REASON>
            <REASON value="Oops - Duplicate" />
          </REASONS>
        </TRANSITION>
        <TRANSITION from="In-Progress - QA" to="Ready For QA">
          <REASONS>
            <DEFAULTREASON value="Unable to Test for now">
              <FIELDS>
                <FIELD refname="System.AssignedTo">
                  <ALLOWEXISTINGVALUE />
                  <EMPTY />
                </FIELD>
              </FIELDS>
            </DEFAULTREASON>
          </REASONS>
        </TRANSITION>
        <TRANSITION from="Closed" to="New">
          <REASONS>
            <DEFAULTREASON value="Re-Open Bug">
              <FIELDS>
                <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
                  <EMPTY />
                </FIELD>
              </FIELDS>
            </DEFAULTREASON>
          </REASONS>
        </TRANSITION>
        <TRANSITION from="In Progress" to="Closed">
          <REASONS>
            <DEFAULTREASON value="Invalid Bug - Verified with Business">
              <FIELDS>
                <FIELD refname="Microsoft.VSTS.Common.ClosedDate">
                  <COPY from="clock" />
                </FIELD>
              </FIELDS>
            </DEFAULTREASON>
          </REASONS>
        </TRANSITION>
        <TRANSITION from="In Progress" to="New">
          <REASONS>
            <DEFAULTREASON value="Moved back to New">
              <FIELDS>
                <FIELD refname="System.AssignedTo">
                  <ALLOWEXISTINGVALUE />
                  <EMPTY />
                </FIELD>
              </FIELDS>
            </DEFAULTREASON>
          </REASONS>
        </TRANSITION>
        <TRANSITION from="New" to="In Progress">
          <REASONS>
            <DEFAULTREASON value="Dev working bug">
              <FIELDS>
                <FIELD refname="System.AssignedTo">
                  <COPY from="currentuser" />
                </FIELD>
              </FIELDS>
            </DEFAULTREASON>
          </REASONS>
        </TRANSITION>
        <TRANSITION from="QA Failed" to="In Progress">
          <REASONS>
            <DEFAULTREASON value="Dev working bug">
              <FIELDS>
                <FIELD refname="System.AssignedTo">
                  <COPY from="currentuser" />
                </FIELD>
              </FIELDS>
            </DEFAULTREASON>
          </REASONS>
        </TRANSITION>
        <TRANSITION from="In Progress" to="Ready For QA">
          <REASONS>
            <DEFAULTREASON value="Issue Fixed, Ready for QA" />
            <REASON value="Can't Reproduce" />
            <REASON value="Not a Bug, won't fix" />
          </REASONS>
          <FIELDS>
            <FIELD refname="System.AssignedTo">
              <ALLOWEXISTINGVALUE />
              <EMPTY />
            </FIELD>
          </FIELDS>
        </TRANSITION>
      </TRANSITIONS>
    </WORKFLOW>
    <FORM>
      <Layout HideControlBorders="true" HideReadOnlyEmptyFields="true">
        <Group Margin="(4,0,0,0)">
          <Column PercentWidth="100">
            <Control FieldName="System.Title" Type="FieldControl" LabelPosition="Top" ControlFontSize="large" EmptyText="&lt;Enter title here&gt;" />
          </Column>
        </Group>
        <Group Margin="(10,0,0,0)">
          <Column PercentWidth="100">
            <Control FieldName="System.IterationPath" Type="WorkItemClassificationControl" Label="Ite&amp;ration" LabelPosition="Left" />
          </Column>
        </Group>
        <Group Margin="(10,0,0,0)">
          <Column PercentWidth="50">
            <Group Label="Status">
              <Column PercentWidth="100">
                <Control FieldName="System.AssignedTo" Type="FieldControl" Label="Assi&amp;gned To" LabelPosition="Left" />
                <Control FieldName="System.State" Type="FieldControl" Label="Stat&amp;e" LabelPosition="Left" />
                <Control FieldName="System.Reason" Type="FieldControl" Label="Reason" LabelPosition="Left" />
              </Column>
            </Group>
          </Column>
          <Column PercentWidth="50">
            <Group Label="Details">
              <Column PercentWidth="100">
                <Control FieldName="Microsoft.VSTS.Scheduling.Effort" Type="FieldControl" Label="Effort" LabelPosition="Left" />
                <Control FieldName="Microsoft.VSTS.Scheduling.RemainingWork" Type="FieldControl" Label="Remaining Work" LabelPosition="Left" />
                <Control FieldName="Microsoft.VSTS.Common.Severity" Type="FieldControl" Label="Severity" LabelPosition="Left" />
                <Control FieldName="System.AreaPath" Type="WorkItemClassificationControl" Label="&amp;Area" LabelPosition="Left" />
              </Column>
            </Group>
          </Column>
        </Group>
        <Group>
          <Column PercentWidth="50">
            <TabGroup>
              <Tab Label="Steps to Reproduce">
                <Control FieldName="Microsoft.VSTS.TCM.ReproSteps" Type="HtmlFieldControl" Label="" LabelPosition="Top" Dock="Fill" MinimumSize="(100,200)" />
              </Tab>
              <Tab Label="System">
                <Group Label="Build">
                  <Column PercentWidth="100">
                    <Control FieldName="Microsoft.VSTS.Build.FoundIn" Type="FieldControl" Label="Found In Build" LabelPosition="Left" />
                    <Control FieldName="Microsoft.VSTS.Build.IntegrationBuild" Type="FieldControl" Label="Integrated in Build" LabelPosition="Left" />
                  </Column>
                </Group>
                <Control FieldName="Microsoft.VSTS.TCM.SystemInfo" Type="HtmlFieldControl" Label="System Info" LabelPosition="Top" Dock="Fill" />
              </Tab>
              <Tab Label="Test Cases">
                <Control Type="LinksControl" Label="" LabelPosition="Top" Name="TestedBy">
                  <LinksControlOptions>
                    <LinkColumns>
                      <LinkColumn RefName="System.Id" />
                      <LinkColumn RefName="System.WorkItemType" />
                      <LinkColumn RefName="System.Title" />
                      <LinkColumn RefName="System.AssignedTo" />
                      <LinkColumn RefName="System.State" />
                    </LinkColumns>
                    <WorkItemLinkFilters FilterType="include">
                      <Filter LinkType="Microsoft.VSTS.Common.TestedBy" FilterOn="forwardname" />
                    </WorkItemLinkFilters>
                    <ExternalLinkFilters FilterType="excludeAll" />
                    <WorkItemTypeFilters FilterType="include">
                      <Filter WorkItemType="Test Case" />
                    </WorkItemTypeFilters>
                  </LinksControlOptions>
                </Control>
              </Tab>
              <Tab Label="Tasks">
                <Control Type="LinksControl" Label="" LabelPosition="Top" Name="TaskLinks">
                  <LinksControlOptions>
                    <LinkColumns>
                      <LinkColumn RefName="System.Id" />
                      <LinkColumn RefName="System.WorkItemType" />
                      <LinkColumn RefName="System.Title" />
                      <LinkColumn RefName="System.AssignedTo" />
                      <LinkColumn RefName="System.State" />
                    </LinkColumns>
                    <WorkItemLinkFilters FilterType="include">
                      <Filter LinkType="System.LinkTypes.Hierarchy" FilterOn="forwardname" />
                    </WorkItemLinkFilters>
                    <ExternalLinkFilters FilterType="excludeAll" />
                    <WorkItemTypeFilters FilterType="include">
                      <Filter WorkItemType="Task" />
                    </WorkItemTypeFilters>
                  </LinksControlOptions>
                </Control>
              </Tab>
            </TabGroup>
          </Column>
          <Column PercentWidth="50">
            <TabGroup Margin="(5,0,0,0)">
              <Tab Label="Acceptance Criteria">
                <Control FieldName="Microsoft.VSTS.Common.AcceptanceCriteria" Type="HtmlFieldControl" Label="" LabelPosition="Top" Dock="Fill" MinimumSize="(100,200)" />
              </Tab>
              <Tab Label="History">
                <Control FieldName="System.History" Type="WorkItemLogControl" Label="" LabelPosition="Top" Dock="Fill" />
              </Tab>
              <Tab Label="Links">
                <Control Type="LinksControl" LabelPosition="Top" Name="GeneralLinks">
                  <LinksControlOptions>
                    <LinkColumns>
                      <LinkColumn RefName="System.Id" />
                      <LinkColumn RefName="System.WorkItemType" />
                      <LinkColumn RefName="System.Title" />
                      <LinkColumn RefName="System.AssignedTo" />
                      <LinkColumn RefName="System.State" />
                      <LinkColumn LinkAttribute="System.Links.Comment" />
                    </LinkColumns>
                    <WorkItemLinkFilters FilterType="includeAll" />
                    <ExternalLinkFilters FilterType="includeAll" />
                    <WorkItemTypeFilters FilterType="includeAll" />
                  </LinksControlOptions>
                </Control>
              </Tab>
              <Tab Label="Attachments">
                <Control Type="AttachmentsControl" LabelPosition="Top" />
              </Tab>
            </TabGroup>
          </Column>
        </Group>
      </Layout>
      <WebLayout ShowEmptyReadOnlyFields="false">
        <SystemControls>
          <Control Type="FieldControl" FieldName="System.Title" EmptyText="&lt;Enter title here&gt;" />
          <Control Label="Ite&amp;ration" Type="WorkItemClassificationControl" FieldName="System.IterationPath" />
          <Control Label="Assi&amp;gned To" Type="FieldControl" FieldName="System.AssignedTo" />
          <Control Label="Stat&amp;e" Type="FieldControl" FieldName="System.State" />
          <Control Label="Reason" Type="FieldControl" FieldName="System.Reason" />
          <Control Label="&amp;Area" Type="WorkItemClassificationControl" FieldName="System.AreaPath" />
          <Control Label="Links" Type="LinksControl" Name="Links" />
          <Control Label="History" Type="WorkItemLogControl" FieldName="System.History" />
          <Control Label="Attachments" Type="AttachmentsControl" Name="Attachments" />
        </SystemControls>
        <Page Label="Details" LayoutMode="FirstColumnWide">
          <Section>
            <Group Label="Steps to Reproduce">
              <Control Type="HtmlFieldControl" FieldName="Microsoft.VSTS.TCM.ReproSteps" />
            </Group>
            <Group Label="System Info">
              <Control Label="System Info" Type="HtmlFieldControl" FieldName="Microsoft.VSTS.TCM.SystemInfo" />
            </Group>
            <Group Label="Acceptance Criteria">
              <Control Type="HtmlFieldControl" FieldName="Microsoft.VSTS.Common.AcceptanceCriteria" />
            </Group>
          </Section>
          <Section>
            <Group Label="Status">
              <Control Label="Reason" Type="FieldControl" FieldName="System.Reason" />
            </Group>
            <Group Label="Build">
              <Control Label="Found In Build" Type="FieldControl" FieldName="Microsoft.VSTS.Build.FoundIn" />
              <Control Label="Integrated in Build" Type="FieldControl" FieldName="Microsoft.VSTS.Build.IntegrationBuild" />
            </Group>
          </Section>
          <Section>
            <Group Label="Development">
              <Control Type="LinksControl" Name="Development">
                <LinksControlOptions ViewMode="Dynamic" ZeroDataExperience="Development" ShowCallToAction="true">
                  <ListViewOptions GroupLinks="false"></ListViewOptions>
                  <LinkFilters>
                    <ExternalLinkFilter Type="Build" />
                    <ExternalLinkFilter Type="Integrated in build" />
                    <ExternalLinkFilter Type="Pull Request" />
                    <ExternalLinkFilter Type="Branch" />
                    <ExternalLinkFilter Type="Fixed in Commit" />
                    <ExternalLinkFilter Type="Fixed in Changeset" />
                    <ExternalLinkFilter Type="Source Code File" />
                    <ExternalLinkFilter Type="Found in build" />
                  </LinkFilters>
                </LinksControlOptions>
              </Control>
            </Group>
            <Group Label="Related Work">
              <Control Type="LinksControl" Name="Related Work">
                <LinksControlOptions>
                  <LinkFilters>
                    <WorkItemLinkFilter Type="System.LinkTypes.Duplicate-Reverse" />
                    <WorkItemLinkFilter Type="System.LinkTypes.Hierarchy-Reverse" />
                    <WorkItemLinkFilter Type="Microsoft.VSTS.Common.TestedBy-Forward" />
                    <WorkItemLinkFilter Type="Microsoft.VSTS.Common.TestedBy-Reverse" />
                    <WorkItemLinkFilter Type="System.LinkTypes.Hierarchy-Forward" />
                    <WorkItemLinkFilter Type="System.LinkTypes.Duplicate-Forward" />
                    <WorkItemLinkFilter Type="System.LinkTypes.Dependency" />
                    <WorkItemLinkFilter Type="System.LinkTypes.Related" />
                  </LinkFilters>
                  <Columns>
                    <Column Name="System.State" />
                    <Column Name="System.ChangedDate" />
                    <Column Name="System.Links.Comment" />
                  </Columns>
                </LinksControlOptions>
              </Control>
            </Group>
            <Group Label="Details">
              <Control Label="Effort" Type="FieldControl" FieldName="Microsoft.VSTS.Scheduling.Effort" />
              <Control Label="Remaining Work" Type="FieldControl" FieldName="Microsoft.VSTS.Scheduling.RemainingWork" />
              <Control Label="Severity" Type="FieldControl" FieldName="Microsoft.VSTS.Common.Severity" />
            </Group>
          </Section>
        </Page>
      </WebLayout>
    </FORM>
  </WORKITEMTYPE>
</witd:WITD>

2 个答案:

答案 0 :(得分:0)

尝试在<ProjectProcessConfiguration> </ProjectProcessConfiguration>

之间添加以下示例
 <BugWorkItems category="Microsoft.BugCategory" pluralName="Bugs" singularName="Bug">
    <States>
      <State type="Proposed" value="New" />
      <State type="Proposed" value="Approved" />
      <State type="InProgress" value="Committed" />
      <State type="Complete" value="Done" />
    </States>
  </BugWorkItems>

答案 1 :(得分:0)

你做过“启用新功能”=&gt;在配置部分(项目)中,您可以找到它。 此外,还有MS指导您的主题:https://docs.microsoft.com/en-us/vsts/work/customize/update-customized-process-template?view=tfs-2018