This project has moved. For the latest updates, please go here.
1

Closed

error while importing unmodified bug work item

description

v.2.0.5885
work item configuration
work item types
view / export / delete / edit

when i try to reimport an unmodified Bug work item i get
Validating Work Item Type Definition: Bug for Team Project "Viewmaster"
XML validation error at row 1, column 26668: Das 'FieldName'-Attribut ist ungültig - Der Wert 'Development' ist gemäß seinem Datentyp 'http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/typelib:ReferenceFieldName' ungültig - Pattern-Einschränkung ist fehlgeschlagen..
XML validation error at row 1, column 27359: Das 'FieldName'-Attribut ist ungültig - Der Wert 'Related Work' ist gemäß seinem Datentyp 'http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/typelib:ReferenceFieldName' ungültig - Pattern-Einschränkung ist fehlgeschlagen..
An error occurred while validating Work Item Type Definition: Bug for Team Project "Viewmaster": TF237070: Fehler beim Importieren der Definition. Die zu importierende Definition konnte nicht anhand des Schemas überprüft werden. Bearbeiten Sie die Definition, und wiederholen Sie anschließend den Importvorgang.
Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionValidationException: TF237070: Fehler beim Importieren der Definition. Die zu importierende Definition konnte nicht anhand des Schemas überprüft werden. Bearbeiten Sie die Definition, und wiederholen Sie anschließend den Importvorgang.
   bei Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.GetXml(TextReader stream, SchemaType type, ImportEventHandler handler, Boolean validateSchema)
   bei Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.GetXml(Stream stream, SchemaType type, ImportEventHandler handler, Boolean validateSchema)
   bei Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.GetXml(String xml, SchemaType schema, ImportEventHandler handler, Boolean validateSchema)
   bei Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemType.Validate(Project project, String definition)
   bei TeamProjectManager.Modules.WorkItemConfiguration.WorkItemConfigurationItemImportExport.ImportWorkItemTypes(ILogger logger, ApplicationTask task, Boolean setTaskProgress, Int32& step, ImportOptions options, WorkItemStore store, Dictionary`2 teamProjectsWithWorkItemTypes) in C:\Users\jelled\Desktop\Code\TeamProjectManager\Main\TeamProjectManager.Modules.WorkItemConfiguration\WorkItemConfigurationItemImportExport.cs:Zeile 343.
Failed

file attachments

Closed Sep 12, 2016 at 9:30 AM by jelled
By design - VSTS doesn't allow work item type customizations as TFS on-premise.

comments

jelled wrote Sep 12, 2016 at 7:38 AM

That's strange. What's the version of TFS you are working with? Did you download the work item type definition from TFS directly with the tool or was it stored on disk from earlier?

keris wrote Sep 12, 2016 at 8:54 AM

We're using 'Visual Studio Team Services' and the file was exported with the tool.
Thanks so far ...
Peter

jelled wrote Sep 12, 2016 at 9:30 AM

Ah I see. VSTS does not support work item customizations in the same way as TFS on-premise. See https://www.visualstudio.com/en-us/docs/work/customize/add-modify-wit and https://blogs.msdn.microsoft.com/visualstudioalm/2016/06/18/vsts-process-customization-futures-june-2016/ for example. So this tool doesn't help you with VSTS I'm afraid.

wrote Sep 12, 2016 at 9:30 AM

keris wrote Sep 14, 2016 at 9:36 AM

Thanx for Support
Best regards
Peter