Edit WorkItem Does Not Work - UI not updated - VS2019 ADOS 2020

190 views Asked by At

i am trying to edit work item - using the Process Template Editor The UI i see in the preview does not match the Actual UI and removing controls from the UI only update the preview look and the XML but not the server view .

Editing is only updating the preview and the XML but after uploading to the server no change in the UI.

MODIFIED XML

MODIFIED XML

ORG XML

ORG XML

Actual Look enter image description here

Preview Look enter image description here

1

There are 1 answers

5
Daniel Mann On BEST ANSWER

You're only updating the layout section of the work item. That section is deprecated and only exists for legacy purposes; it was used in old versions of TFS for rendering work items, and for rendering work items in Visual Studio. Since modern versions of Visual Studio no longer render work items natively and simply redirect to the web UI, you need to ensure that the WebLayout section is updated; that is the section used for rendering work items. This is all spelled out in the documentation.

You should consider moving off of the "classic" XML work item customization experience to the modern inheritance model; it's much easier to use and doesn't require messing around with XML documents.