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:
This error can be if you are trying to export from collection with Inherited processes. I have checked on my azure devops server:
First collection with xml processes: waitadmin exports wi definition
Second collection with inherited processes: the same error
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.
Related
We are currently using an on premise TFS 2018 installation and there are a couple of custom applications that use the Microsoft.TeamFoundationServer.ExtendedClient in order to communicate with TFS. Now since some assemblies in the extended client are going to be deprecated (link) and a move to Azure DevOps services is a possibility I have started checking the replacement (link)
In our current implementation we are using global lists and extendedClient WorkItemStore had the ExportGlobalLists/ImportGlobalLists methods that were handy
The problem is that I cannot find an equivalent method in the new client
is witadmin the only option?
I have found this in the REST API (link) but it doesn't seem to work for on-premise so I could test it out
Any ideas would be welcome
As far as I know, there is no concept of a global list any more in Azure DevOps Services. If you want to customize the fields, it is usually defining the available list on the field.
We are utilizing the lists on-premise Azure DevOps Server 2019, but only ever interact to get them from witadmin.
According the comment in this case:
https://developercommunity.visualstudio.com/content/problem/312980/cannot-edit-existing-global-lists.html?childToView=338672#comment-338672
Global lists are now part of a specific work item. To edit the list
you should 1) export the process 2) look into the xml for the work
items. Global lists are usually added to the bug or task wit 3) make
the global list changes in the xml 4) zip up the process and import
back into Azure DevOps.
I've to create several very similar projects in TFS.
It is possible to export and import several TFS configuration, for instance, work items and process definition.
Is it possible to do the same for board configuration? For instance, column, card and tag style rules?
Try this tool Azure Boards Kanban Tools. It copies configuration between boards.
What you are looking for is export and import Board settings as Templates.
Unfortunately, there is no such build-in setting or configuration in Azure DevOps Server(TFS)/Azure DevOps Service.
You could submit a user voice. Our PM will kindly review any
suggestion.
https://developercommunity.visualstudio.com/spaces/21/visual-studio-team-services.html?type=idea
Besides, you could also try to use that extension Azure Boards Kanban Tools release by Azure DevOps Rangers. It seems come from here, take a look at this similar question: Is it possible to save Board settings as Templates in VSTS?
I would like to do exactly what is being proposed in this question, but instead of VSTS, I'd like to do it in on a On-Premise TFS(2018):
"Is it possible to add a new Activity type on the Task work item in
VSTS and, if so, how can I do it? Thanks!"
I've followed the instructions explained here to export and modify my custom project template. However when I follow the instructions here(Step 5 of the original instructions) I get stuck at the "Configure Features" step, that does not appear in my implementation of TFS (Yes, my user account is part of "Project Collection Administrators"):
I'm sort of confused, there are people that claim this can't be done. In fact it's even stated in the process page:
"Changes you make to a process template will only apply to new team
projects. They will not affect existing team projects."
But the instructions clearly indicate that it can be, I just done see the "Configure features" link? The instructions indicate that the use case is after a TFS update, but if I just changed my custom template, how would I enable this, so I can implement my changes in the custom template?
Try below ways to achieve that:
Import, export, and manage work item types with witadmin
Export the specific work item type definition file (Task in your scenario). Run command prompt with administrator, if you are
using VS 2017, then cd C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team
Explorer
witadmin exportwitd /collection:http://server:8080/tfs/DefaultCollection /p:ProjectName
/f:C:\temp\MyTask.xml /n:Task
Edit the exported WIT definition file (xml) with text editor, add a new Activity Type (e.g.: TestActivity0727in below
sample)
like below:
Save the file and import to TFS with witadmin command:
witadmin importwitd /collection:http://server:8080/tfs/DefaultCollection /p:ProjectName
/f:C:\temp\MyTask.xml /n:Task
Refresh the page, now the new activity should be worked in Task
work item.
Edit with TFS Process Template Editor, reference below screenshot:
For VS 2017, install the extension TFS Process Template Editor
For VS 2015, just install Microsoft Visual Studio Team Foundation
Server 2015 Power Tools
I'm working on a project which will need to use some custom fields in TFS. I'm working on this using a TFS Express installed on my local machine.
But I could not figure out how to add custom fields to the TFS Express. The doc I could find is for VSTS.
Can we add custom fields in TFS Express? How?
Thanks
In short, you need to modify your process template XML. It's way too big a topic to go into in any detail here, so consult the documentation. What you're looking for is the "on-premises XML" model.
The basic step-by-step is:
Export your work item with witadmin
Modify the XML with your editor of choice
Import the work item with witadmin
Another option is to use the Process Template Editor plugin for Visual Studio.
However, please see my comment regarding your choice to install TFS Express over using VSTS. A workstation is not a realistic TFS environment.
Our IT installed TFS 2017 (15.112.26307.0). It's a clean installation. It currently has few startup projects, just to see and explorer features. But the projects are missing "Process" link under Project Template page, to configure Agile/Scrum/CMMI. I don't see link for "Configure Features" either. My account has Project Administrator and Project Collection Administrators privileges. Ultimately we would like to explorer Agile process. Any help appreciated.
The Process tab is something that Microsoft has been building for VSTS and which is likely to come to on-prem in the near future. But for now TFS still uses the old XML based work item templates which offer a higher level of customizability, but which are also much harder to maintain.
For specific guidance on using witadmin.exe check out:
TFS Process Template Customisation Guide
Practical guidance for Work Item Tracking (WIT) and Process Template customizations.