Work items are the basis for recording work, requirement and test management in TFS and Azure DevOps (formerly Visual Studio Team Services [VSTS], prior to that Visual Studio Online). In TFS work items can be customized by editing the TFS Process Template. A process editor is available through the Team Foundation Server Power Tools. If you're feeling brave you can use the commandline directly using witadmin. Work items can be queried using Wiql.