2

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

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114
Tahir
  • 95
  • 1
  • 9

2 Answers2

2

This error can be if you are trying to export from collection with Inherited processes. I have checked on my azure devops server:

  1. First collection with xml processes: waitadmin exports wi definition
  2. Second collection with inherited processes: the same error
Shamrai Aleksander
  • 13,096
  • 3
  • 24
  • 31
0

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.

PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62
  • Thank you for the link to the documentation. However, I need to be able to export my modified process templates for backup purposes, in case I need to restore them after a catastrophic failure (or migrate them to a new collection). I've invested much time and effort into my customizations and I'm uncomfortable with the idea of them being siloed in a single collection/project. How can I enable this feature, so that I can export my templates using [this script](https://github.com/microsoft/process-customization-scripts/blob/master/Export/ExportProjectTemplate.ps1)? I'm using ADS 2022. – InteXX Feb 07 '23 at 03:14
  • p.s. I'm using the Inherited process model. Is there a way to export (back up) my painstakingly crafted customizations? – InteXX Feb 07 '23 at 04:22