Search code examples
tfsazure-devopsazure-devops-extensionsazure-devops-server-2019azure-devops-server

Exporting work item definition fails in Azure Devops 2019


I get the following error when I try to export a work item witadmin in Azure DevOps 2019

witadmin exportwitd /collection:<URL to team project> /p:AutoRI /n:Bug /f:<PathToExportedxml>\exported1.xml

The feature is disabled. Contact your Azure DevOps Server administrator. Process Id: 6483e73b-0c68-416d-88d8-9aff672828c7, Project Id: ceec55cd-a350-499f-82e2-47245c379a05

I am the Administrators of the project and I have the necessary authority.

Can some one please let me know how I can enable the feature? There is no documentation around this problem.

My permission is shown in the image:

enter image description here


Solution

  • It's not about basic agile or customized, actually it's related to process model you are using.

    As declared clearly in witAdmin command line reference:

    With witadmin, you can modify XML definition files to support the On-premises XML process model. For an overview of process models and what is supported, see Customize your work tracking experience.

    To customize inherited processes, you just need to do it in the web portal. It's no need and also not able to export work item by using witadmin command.

    More details, please kindly review our official tutorial here.

    Hope this is clearly.