0
votes

In Azure Devops, using Customize option, you can add/modify fields except the Title, State, Reason, Area, Iteration Path. Is there a way I can modify a custom work item type to remove these fields as well?

2
How about the issue? Does the answer below resolved your question? Feel free to let me know if the answer could give you some help.Walter
Hi @WalterQian-MSFT, will try this and get back to you.Ashutosh
Not get your response for several days, would you please share your latest information about this issue?Walter

2 Answers

0
votes

No, these are system fields. There are headers elements that we'll have on each work item type:

  1. Fields: Work item ID, Title, Assigned To, State, Reason, Area Path, Iteration Path, and tags
  2. Pages: History page, Links page , and Attachments page.
0
votes

Is there a way I can modify a custom work item type to remove these fields as well?

System controls like Area Path, Iteration Path and Reason can be hidden from work item form using Rest API. In additon to hide them, lables to these controls can also be edited. You can not hide Title and State. Here are the steps:

  1. Get the process ID

    Get https://dev.azure.com/{Organization} /_apis/work/processes?api-version=6.0-preview.1 enter image description here

  2. Update a System Control

    PATCH https://dev.azure.com/{organization}/_apis/work/processes/{processId}/workItemTypes/{witRefName}/layout/systemcontrols/{controlId}?api-version=6.0-preview.1

Request Body:

{
  "visible": false
}

enter image description here

Result: enter image description here