azure-devopsfieldownerdatecreated

How can i view the Created Date and the Owner of the Field in Azure DevOps


I am working on Azure DevOps and I know little about the product. I want to view the field history when it is created and by whom it is created and last modified. I have gone through a couple of things in docs but it didn't help me.

Research up till Now

It shows me the fields but no information other than when I clicked on fields it gives me an option to delete the field.

Path Organization Setting > Process > Fields


Solution

  • How can i view the Created Date and the Owner of the Field in Azure DevOps

    Indeed, there is no such out of box way to get the Created Date and the Owner of the Field.

    As a workaround, we could add a custom field in our custom process and set the value to 1 when the field is defined with a value. For example, I create a MyCustomFiled field and add rule to set the MyCustomFiled to 1 if the target field is defined:

    enter image description here

    enter image description here

    In this case, when the target field is created by some one, our custom filed will be set with value 1.

    Next, we create a query with following Filters:

    enter image description here

    Now, we could get the Created Date and the Owner of the Field.

    Update:

    what about the fields that are already created?

    For this situation, we could query workitems whose fields have been modified according to the opposite conditions, for example, the Description field:

    enter image description here

    If this workaround still not work for you, you could try to use REST API Revisions - Get to get all the history for one workitem, use scripts to filter the revision about the specify field, then loop through all the workitems.

    GET https://dev.azure.com/{organization}/{project}/_apis/wit/workItems/{id}/revisions/{revisionNumber}?api-version=5.1
    

    Hope this helps.